mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
m->mnt_root->d_inode->i_sb is a weird way to spell m->mnt_sb...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -326,7 +326,7 @@ static struct file *__nfs42_ssc_open(struct vfsmount *ss_mnt,
|
|||||||
char *read_name = NULL;
|
char *read_name = NULL;
|
||||||
int len, status = 0;
|
int len, status = 0;
|
||||||
|
|
||||||
server = NFS_SERVER(ss_mnt->mnt_root->d_inode);
|
server = NFS_SB(ss_mnt->mnt_sb);
|
||||||
|
|
||||||
if (!fattr)
|
if (!fattr)
|
||||||
return ERR_PTR(-ENOMEM);
|
return ERR_PTR(-ENOMEM);
|
||||||
@@ -344,7 +344,7 @@ static struct file *__nfs42_ssc_open(struct vfsmount *ss_mnt,
|
|||||||
goto out;
|
goto out;
|
||||||
snprintf(read_name, len, SSC_READ_NAME_BODY, read_name_gen++);
|
snprintf(read_name, len, SSC_READ_NAME_BODY, read_name_gen++);
|
||||||
|
|
||||||
r_ino = nfs_fhget(ss_mnt->mnt_root->d_inode->i_sb, src_fh, fattr);
|
r_ino = nfs_fhget(ss_mnt->mnt_sb, src_fh, fattr);
|
||||||
if (IS_ERR(r_ino)) {
|
if (IS_ERR(r_ino)) {
|
||||||
res = ERR_CAST(r_ino);
|
res = ERR_CAST(r_ino);
|
||||||
goto out_free_name;
|
goto out_free_name;
|
||||||
|
Reference in New Issue
Block a user