diff options
Diffstat (limited to 'fs/fuse')
-rw-r--r-- | fs/fuse/inode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index a13c0f529058..815c824f4fc8 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c | |||
@@ -195,9 +195,10 @@ struct inode *fuse_iget(struct super_block *sb, unsigned long nodeid, | |||
195 | return inode; | 195 | return inode; |
196 | } | 196 | } |
197 | 197 | ||
198 | static void fuse_umount_begin(struct super_block *sb) | 198 | static void fuse_umount_begin(struct vfsmount *vfsmnt, int flags) |
199 | { | 199 | { |
200 | fuse_abort_conn(get_fuse_conn_super(sb)); | 200 | if (flags & MNT_FORCE) |
201 | fuse_abort_conn(get_fuse_conn_super(vfsmnt->mnt_sb)); | ||
201 | } | 202 | } |
202 | 203 | ||
203 | static void fuse_put_super(struct super_block *sb) | 204 | static void fuse_put_super(struct super_block *sb) |