]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/befs/linuxvfs.c
Merge git://git.infradead.org/intel-iommu
[mirror_ubuntu-artful-kernel.git] / fs / befs / linuxvfs.c
index 16e0a48bfccd41e904a8044beced4d84af1bdbe7..7943533c386802dc880051cc7ac2b078cf5d3ccb 100644 (file)
@@ -471,7 +471,7 @@ static void *
 befs_follow_link(struct dentry *dentry, struct nameidata *nd)
 {
        struct super_block *sb = dentry->d_sb;
-       struct befs_inode_info *befs_ino = BEFS_I(dentry->d_inode);
+       struct befs_inode_info *befs_ino = BEFS_I(d_inode(dentry));
        befs_data_stream *data = &befs_ino->i_data.ds;
        befs_off_t len = data->size;
        char *link;
@@ -501,7 +501,7 @@ befs_follow_link(struct dentry *dentry, struct nameidata *nd)
 static void *
 befs_fast_follow_link(struct dentry *dentry, struct nameidata *nd)
 {
-       struct befs_inode_info *befs_ino = BEFS_I(dentry->d_inode);
+       struct befs_inode_info *befs_ino = BEFS_I(d_inode(dentry));
 
        nd_set_link(nd, befs_ino->i_data.symlink);
        return NULL;