Projects
Eulaceura:Mainline:GA
fuse3
_service:obs_scm:0002-revert-fuse_daemonize-chd...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0002-revert-fuse_daemonize-chdir-to-even-if-not-run.patch of Package fuse3
From 2b50633a79f77ceec5bdec8e58cad8b78c244073 Mon Sep 17 00:00:00 2001 From: Lixiaokeng <lixiaokeng@huawei.com> Date: Tue, 30 Nov 2021 17:17:07 +0800 Subject: [PATCH] fuse3: revert "fuse_daemonize(): chdir to / even if not running in the background" fuse_daemonize(): chdir to "/" even if not running in the background for consistency, but in some cases, we need to use relative-path in foreground, such as the feature nvme-cuse in SPDK 21.01. So we revert this commit. Signed-off-by: Lixiaokeng <lixiaokeng@huawei.com> Signed-off-by: Weifeng Su <suweifeng1@huawei.com> Signed-off-by: volcanodragon <linfeilong@huawei.com> --- lib/helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/helper.c b/lib/helper.c index 64ff7ad..9c03b79 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -270,8 +270,6 @@ int fuse_daemonize(int foreground) (void) write(waiter[1], &completed, sizeof(completed)); close(waiter[0]); close(waiter[1]); - } else { - (void) chdir("/"); } return 0; } -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2