diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-10 01:33:30 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-10 17:11:51 -0400 |
| commit | fc64005c93090c052637f63578d810b037abb1a1 (patch) | |
| tree | 7762f9680fd773cf265465b0e5f95e4732b90def /fs/9p | |
| parent | 04c57f4501909b60353031cfe5b991751d745658 (diff) | |
don't bother with ->d_inode->i_sb - it's always equal to ->d_sb
... and neither can ever be NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/9p')
| -rw-r--r-- | fs/9p/vfs_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index 3a08b3e6ff1d..f4645c515262 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c | |||
| @@ -1071,7 +1071,7 @@ v9fs_vfs_getattr(struct vfsmount *mnt, struct dentry *dentry, | |||
| 1071 | if (IS_ERR(st)) | 1071 | if (IS_ERR(st)) |
| 1072 | return PTR_ERR(st); | 1072 | return PTR_ERR(st); |
| 1073 | 1073 | ||
| 1074 | v9fs_stat2inode(st, d_inode(dentry), d_inode(dentry)->i_sb); | 1074 | v9fs_stat2inode(st, d_inode(dentry), dentry->d_sb); |
| 1075 | generic_fillattr(d_inode(dentry), stat); | 1075 | generic_fillattr(d_inode(dentry), stat); |
| 1076 | 1076 | ||
| 1077 | p9stat_free(st); | 1077 | p9stat_free(st); |
