ext4: use journal inode to determine journal overhead
authorEric Whitney <enwlinux@gmail.com>
Fri, 30 Sep 2016 06:08:49 +0000 (02:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 30 Sep 2016 06:08:49 +0000 (02:08 -0400)
commit3c816ded78bbd645d61ee36f461deb8376d3723a
treee530f2987e80d353f8aeab7c3737a00ff9672fcb
parentc6cb7e776ad59feba5d84b2524efd6dcbc618e42
ext4: use journal inode to determine journal overhead

When a file system contains an internal journal that has not been
loaded, use the journal inode's i_size field to determine its
contribution to the file system's overhead.  (The journal's j_maxlen
field is normally used to determine its size, but it's unavailable when
the journal has not been loaded.)

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c