nilfs2: add local variable to cache the number of clean segments
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Thu, 12 Nov 2009 18:41:55 +0000 (03:41 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 20 Nov 2009 01:05:49 +0000 (10:05 +0900)
commitaa474a220180d997caafcee372770d6ed6bf798a
treef94f79d076a3abaffa80dc466d9f6d4a228f5e69
parent7b16c8a211c87d465c48ea324928f8057590b853
nilfs2: add local variable to cache the number of clean segments

This makes it possible for sufile to get the number of clean segments
faster.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/sufile.c