diff options
Diffstat (limited to 'xlators/mount')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index 987cc6e03fc..96c745a09c3 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -2317,6 +2317,16 @@ fuse_flush (xlator_t *this, fuse_in_header_t *finh, void *msg) return; } +int +fuse_internal_release (xlator_t *this, fd_t *fd) +{ + //This is a place holder function to prevent "xlator does not implement + //release_cbk" Warning log. + //Actual release happens as part of fuse_release which gets executed + //when kernel fuse sends it. + return 0; +} + static void fuse_release (xlator_t *this, fuse_in_header_t *finh, void *msg) { @@ -5442,6 +5452,7 @@ struct xlator_fops fops; struct xlator_cbks cbks = { .invalidate = fuse_invalidate, .forget = fuse_forget_cbk, + .release = fuse_internal_release }; |