From 251852b687fe9792c9f83dec456269d40df82cd6 Mon Sep 17 00:00:00 2001 From: Ryusuke Konishi Date: Mon, 30 Mar 2009 00:50:19 +0900 Subject: [PATCH] --- yaml --- r: 143288 b: refs/heads/master c: 3efb55b496952e0d29a9ec66d0ceaab175c4e8ca h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nilfs2/sufile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 7b3718aef458..bc9f88b8beeb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e7a7402c0d392dcadc74cae8922f8fae4667605a +refs/heads/master: 3efb55b496952e0d29a9ec66d0ceaab175c4e8ca diff --git a/trunk/fs/nilfs2/sufile.c b/trunk/fs/nilfs2/sufile.c index c774cf397e2f..1ef2b4d9d794 100644 --- a/trunk/fs/nilfs2/sufile.c +++ b/trunk/fs/nilfs2/sufile.c @@ -625,7 +625,7 @@ ssize_t nilfs_sufile_get_suinfo(struct inode *sufile, __u64 segnum, si[i + j].sui_nblocks = le32_to_cpu(su->su_nblocks); si[i + j].sui_flags = le32_to_cpu(su->su_flags) & ~(1UL << NILFS_SEGMENT_USAGE_ACTIVE); - if (nilfs_segment_is_active(nilfs, segnum + i + j)) + if (nilfs_segment_is_active(nilfs, segnum + j)) si[i + j].sui_flags |= (1UL << NILFS_SEGMENT_USAGE_ACTIVE); }