From fbcdf864613bfeb84edfa945304c065f6a29b44e Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Sat, 13 Feb 2016 22:14:04 -0500 Subject: Save root file descriptor when starting up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow access to underlying file system by saving a file descriptor to the underlying directory when starting. Close the FD during FUSE’s destroy routine, though it won’t matter much. --- src/operations.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/operations.h') diff --git a/src/operations.h b/src/operations.h index a623fef..2e55f24 100644 --- a/src/operations.h +++ b/src/operations.h @@ -20,7 +20,7 @@ namespace scoville { -fuse_operations FuseOperations(); +fuse_operations FuseOperations(int root_fd); } // namespace scoville -- cgit v1.2.3