summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/super.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2016-08-02 17:05:06 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-08-02 19:35:17 -0400
commit6625689e159fa1d43572ee113713ab23bec03131 (patch)
tree344f75d3ff037dd65e07eb96a47214ed3cc867f1 /fs/nilfs2/super.c
parenta66dfb0a91c211c77b5d4e503d3e760e2e566189 (diff)
nilfs2: embed a back pointer to super block instance in nilfs object
Insert a back pointer to super block instance in nilfs object so that functions of nilfs2 easily refer to the super block instance. This simplifies replacement of printk() in the successive change. Link: http://lkml.kernel.org/r/1464875891-5443-4-git-send-email-konishi.ryusuke@lab.ntt.co.jp Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/super.c')
-rw-r--r--fs/nilfs2/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
index 86e3c00994e2..2d4d0bec711e 100644
--- a/fs/nilfs2/super.c
+++ b/fs/nilfs2/super.c
@@ -1076,7 +1076,7 @@ nilfs_fill_super(struct super_block *sb, void *data, int silent)
1076 __u64 cno; 1076 __u64 cno;
1077 int err; 1077 int err;
1078 1078
1079 nilfs = alloc_nilfs(sb->s_bdev); 1079 nilfs = alloc_nilfs(sb);
1080 if (!nilfs) 1080 if (!nilfs)
1081 return -ENOMEM; 1081 return -ENOMEM;
1082 1082