aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/fuse/inode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 12b502929da9..add96f6ffda5 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -812,6 +812,9 @@ static void process_init_reply(struct fuse_conn *fc, struct fuse_req *req)
812 if (arg->minor >= 17) { 812 if (arg->minor >= 17) {
813 if (!(arg->flags & FUSE_FLOCK_LOCKS)) 813 if (!(arg->flags & FUSE_FLOCK_LOCKS))
814 fc->no_flock = 1; 814 fc->no_flock = 1;
815 } else {
816 if (!(arg->flags & FUSE_POSIX_LOCKS))
817 fc->no_flock = 1;
815 } 818 }
816 if (arg->flags & FUSE_ATOMIC_O_TRUNC) 819 if (arg->flags & FUSE_ATOMIC_O_TRUNC)
817 fc->atomic_o_trunc = 1; 820 fc->atomic_o_trunc = 1;