diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-16 11:32:07 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-16 21:48:06 +0100 |
commit | f8ad9c4bae99854c961ca79ed130a0d11d9ab53c (patch) | |
tree | de466d67c6413ba5a0fed1733768f21e1ffc2acf /fs/nfs/internal.h | |
parent | nfs: make nfs_path() work without vfsmount (diff) | |
download | linux-f8ad9c4bae99854c961ca79ed130a0d11d9ab53c.tar.xz linux-f8ad9c4bae99854c961ca79ed130a0d11d9ab53c.zip |
nfs: nfs_do_{ref,sub}mount() superblock argument is redundant
It's always equal to dentry->d_sb
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index f0234118d044..e94ad22da5d2 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -163,10 +163,10 @@ static inline void nfs_fs_proc_exit(void) /* nfs4namespace.c */ #ifdef CONFIG_NFS_V4 -extern struct vfsmount *nfs_do_refmount(struct super_block *sb, struct dentry *dentry); +extern struct vfsmount *nfs_do_refmount(struct dentry *dentry); #else static inline -struct vfsmount *nfs_do_refmount(struct super_block *sb, struct dentry *dentry) +struct vfsmount *nfs_do_refmount(struct dentry *dentry) { return ERR_PTR(-ENOENT); } |