summaryrefslogtreecommitdiffstats
path: root/fs/ext4/dir.c
diff options
context:
space:
mode:
authorEric Whitney2016-09-30 08:08:49 +0200
committerTheodore Ts'o2016-09-30 08:08:49 +0200
commit3c816ded78bbd645d61ee36f461deb8376d3723a (patch)
treee530f2987e80d353f8aeab7c3737a00ff9672fcb /fs/ext4/dir.c
parentext4: create function to read journal inode (diff)
downloadkernel-qcow2-linux-3c816ded78bbd645d61ee36f461deb8376d3723a.tar.gz
kernel-qcow2-linux-3c816ded78bbd645d61ee36f461deb8376d3723a.tar.xz
kernel-qcow2-linux-3c816ded78bbd645d61ee36f461deb8376d3723a.zip
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>
Diffstat (limited to 'fs/ext4/dir.c')
0 files changed, 0 insertions, 0 deletions