aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/nilfs2/super.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
index ed8ec5718ae6..019752f7d2da 100644
--- a/fs/nilfs2/super.c
+++ b/fs/nilfs2/super.c
@@ -1103,10 +1103,6 @@ nilfs_get_sb(struct file_system_type *fs_type, int flags,
1103 */ 1103 */
1104 sd.sbi = nilfs_find_sbinfo(nilfs, !(flags & MS_RDONLY), sd.cno); 1104 sd.sbi = nilfs_find_sbinfo(nilfs, !(flags & MS_RDONLY), sd.cno);
1105 1105
1106 if (!sd.cno)
1107 /* trying to get the latest checkpoint. */
1108 sd.cno = nilfs_last_cno(nilfs);
1109
1110 /* 1106 /*
1111 * Get super block instance holding the nilfs_sb_info struct. 1107 * Get super block instance holding the nilfs_sb_info struct.
1112 * A new instance is allocated if no existing mount is present or 1108 * A new instance is allocated if no existing mount is present or