diff options
Diffstat (limited to 'fs/fuse/inode.c')
-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 5ceb8bd7a189..dcaaabd3b9c4 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c | |||
@@ -198,9 +198,10 @@ struct inode *fuse_iget(struct super_block *sb, unsigned long nodeid, | |||
198 | return inode; | 198 | return inode; |
199 | } | 199 | } |
200 | 200 | ||
201 | static void fuse_umount_begin(struct super_block *sb) | 201 | static void fuse_umount_begin(struct vfsmount *vfsmnt, int flags) |
202 | { | 202 | { |
203 | fuse_abort_conn(get_fuse_conn_super(sb)); | 203 | if (flags & MNT_FORCE) |
204 | fuse_abort_conn(get_fuse_conn_super(vfsmnt->mnt_sb)); | ||
204 | } | 205 | } |
205 | 206 | ||
206 | static void fuse_put_super(struct super_block *sb) | 207 | static void fuse_put_super(struct super_block *sb) |