aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/segment.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/segment.c')
-rw-r--r--fs/nilfs2/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/segment.c b/fs/nilfs2/segment.c
index abbfab974700..8006d0cd4440 100644
--- a/fs/nilfs2/segment.c
+++ b/fs/nilfs2/segment.c
@@ -894,7 +894,7 @@ static void nilfs_segctor_fill_in_super_root(struct nilfs_sc_info *sci,
894 bh_sr = NILFS_LAST_SEGBUF(&sci->sc_segbufs)->sb_super_root; 894 bh_sr = NILFS_LAST_SEGBUF(&sci->sc_segbufs)->sb_super_root;
895 raw_sr = (struct nilfs_super_root *)bh_sr->b_data; 895 raw_sr = (struct nilfs_super_root *)bh_sr->b_data;
896 896
897 raw_sr->sr_bytes = cpu_to_le16(NILFS_SR_BYTES); 897 raw_sr->sr_bytes = cpu_to_le16(NILFS_SR_BYTES(isz));
898 raw_sr->sr_nongc_ctime 898 raw_sr->sr_nongc_ctime
899 = cpu_to_le64(nilfs_doing_gc() ? 899 = cpu_to_le64(nilfs_doing_gc() ?
900 nilfs->ns_nongc_ctime : sci->sc_seg_ctime); 900 nilfs->ns_nongc_ctime : sci->sc_seg_ctime);