mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
b514f872f8
commit
f8ad9c4bae
3 changed files with 13 additions and 18 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue