X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fefs%2Fnamei.c;h=40ba9cc41bf74d322c563c9db1ec66a2633a1020;hb=2decb2682f80759f631c8332f9a2a34a02150a03;hp=bbee8f063dfab1bba67b34fc07424a79c51ff47c;hpb=1bd3fa7b8c9b2936c16c6e6452f9cc991c405872;p=karo-tx-linux.git diff --git a/fs/efs/namei.c b/fs/efs/namei.c index bbee8f063dfa..40ba9cc41bf7 100644 --- a/fs/efs/namei.c +++ b/fs/efs/namei.c @@ -111,9 +111,9 @@ struct dentry *efs_get_parent(struct dentry *child) struct dentry *parent = ERR_PTR(-ENOENT); efs_ino_t ino; - ino = efs_find_entry(child->d_inode, "..", 2); + ino = efs_find_entry(d_inode(child), "..", 2); if (ino) - parent = d_obtain_alias(efs_iget(child->d_inode->i_sb, ino)); + parent = d_obtain_alias(efs_iget(d_inode(child)->i_sb, ino)); return parent; }