diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-10 07:33:30 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-10 23:11:51 +0200 |
commit | fc64005c93090c052637f63578d810b037abb1a1 (patch) | |
tree | 7762f9680fd773cf265465b0e5f95e4732b90def /fs/efs | |
parent | posix_acl: Unexport acl_by_type and make it static (diff) | |
download | linux-fc64005c93090c052637f63578d810b037abb1a1.tar.xz linux-fc64005c93090c052637f63578d810b037abb1a1.zip |
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/efs')
-rw-r--r-- | fs/efs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/efs/namei.c b/fs/efs/namei.c index 40ba9cc41bf7..d34a40edcdb2 100644 --- a/fs/efs/namei.c +++ b/fs/efs/namei.c @@ -113,7 +113,7 @@ struct dentry *efs_get_parent(struct dentry *child) ino = efs_find_entry(d_inode(child), "..", 2); if (ino) - parent = d_obtain_alias(efs_iget(d_inode(child)->i_sb, ino)); + parent = d_obtain_alias(efs_iget(child->d_sb, ino)); return parent; } |