aboutsummaryrefslogtreecommitdiff
path: root/src/operations.h
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2016-02-13 22:14:04 -0500
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2016-02-13 22:14:04 -0500
commitfbcdf864613bfeb84edfa945304c065f6a29b44e (patch)
tree456f93eced1509f2517c767b536d5aa0d6aa2930 /src/operations.h
parentf4bd49c5bea13e574bb955864641d2b5adc99843 (diff)
Save root file descriptor when starting up
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.
Diffstat (limited to 'src/operations.h')
-rw-r--r--src/operations.h2
1 files changed, 1 insertions, 1 deletions
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