]> Pileus Git - ~andy/linux/blobdiff - fs/nilfs2/bmap.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm...
[~andy/linux] / fs / nilfs2 / bmap.c
index 4723f04e9b12a0e904f945997b5e1aa73cfc757b..aadbd0b5e3e8fbe516261e5ae069296b8ed940f8 100644 (file)
@@ -34,7 +34,9 @@
 
 struct inode *nilfs_bmap_get_dat(const struct nilfs_bmap *bmap)
 {
-       return NILFS_I_NILFS(bmap->b_inode)->ns_dat;
+       struct the_nilfs *nilfs = bmap->b_inode->i_sb->s_fs_info;
+
+       return nilfs->ns_dat;
 }
 
 static int nilfs_bmap_convert_error(struct nilfs_bmap *bmap,