diff options
author | Al Viro | 2008-04-24 13:21:56 +0200 |
---|---|---|
committer | Al Viro | 2008-04-25 15:23:25 +0200 |
commit | 42faad99658eed7ca8bd328ffa4bcb7d78c9bcca (patch) | |
tree | 8b57fb69d1922939c6ba13f512a0ae54a3a171ef /fs/fuse/inode.c | |
parent | cifs: timeout dfs automounts +little fix. (diff) | |
download | kernel-qcow2-linux-42faad99658eed7ca8bd328ffa4bcb7d78c9bcca.tar.gz kernel-qcow2-linux-42faad99658eed7ca8bd328ffa4bcb7d78c9bcca.tar.xz kernel-qcow2-linux-42faad99658eed7ca8bd328ffa4bcb7d78c9bcca.zip |
[PATCH] restore sane ->umount_begin() API
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r-- | fs/fuse/inode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 033f7bdd47e8..4df34da2284a 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -242,10 +242,9 @@ struct inode *fuse_iget(struct super_block *sb, unsigned long nodeid, return inode; } -static void fuse_umount_begin(struct vfsmount *vfsmnt, int flags) +static void fuse_umount_begin(struct super_block *sb) { - if (flags & MNT_FORCE) - fuse_abort_conn(get_fuse_conn_super(vfsmnt->mnt_sb)); + fuse_abort_conn(get_fuse_conn_super(sb)); } static void fuse_send_destroy(struct fuse_conn *fc) |