From 7d9d5b36e5db5fcfbd4ba0e4cf32008c4821420a Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Sat, 14 Aug 2010 12:08:38 +1000 Subject: [PATCH] Use the right value of creation_age of subsets. It should be cluster seq number. This never wraps and is used to compare against write cluster to trim searches of new filesets early. Signed-off-by: NeilBrown --- super.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/super.c b/super.c index 6c0c32d..1f4364e 100644 --- a/super.c +++ b/super.c @@ -1022,7 +1022,8 @@ lafs_get_subset(struct file_system_type *fs_type, md->ablocks_used = 0; md->blocks_allowed = 10000; /* FIXME */ md->blocks_unalloc = 0; - md->creation_age = fs->youth_next; + /* FIXME should I be using inode_init here */ + md->creation_age = fs->wc[0].cluster_seq; md->inodes_used = 0; md->quota_inums[0] = 0; md->quota_inums[1] = 0; -- 2.39.5