[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CF3D3A3F.283D%hongchao.zhang@intel.com>
Date: Wed, 5 Mar 2014 12:33:32 +0000
From: "Zhang, Hongchao" <hongchao.zhang@...el.com>
To: "tytso@....edu" <tytso@....edu>
CC: "Dilger, Andreas" <andreas.dilger@...el.com>,
"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>
Subject: an issue of ext4
Hi,
in ext4_fill_super, the variables related to statfs should be initialized after journal recovery is completed.
otherwise, if a large number of blocks were being allocated before the filesystem crashed, then the blocks
and inode counters may become negative during use and report incorrect values to statfs call.
Thanks
Hongchao
Download attachment "statfs-issue.patch" of type "application/octet-stream" (1737 bytes)
Powered by blists - more mailing lists