Repository navigation
Commit 3c816de
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>1 parent c6cb7e7 commit 3c816de
1 file changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3210 | 3210 | | |
3211 | 3211 | | |
3212 | 3212 | | |
| 3213 | + | |
| 3214 | + | |
3213 | 3215 | | |
3214 | 3216 | | |
3215 | 3217 | | |
| |||
3240 | 3242 | | |
3241 | 3243 | | |
3242 | 3244 | | |
3243 | | - | |
| 3245 | + | |
| 3246 | + | |
| 3247 | + | |
| 3248 | + | |
| 3249 | + | |
3244 | 3250 | | |
3245 | 3251 | | |
3246 | | - | |
| 3252 | + | |
| 3253 | + | |
| 3254 | + | |
| 3255 | + | |
| 3256 | + | |
| 3257 | + | |
| 3258 | + | |
| 3259 | + | |
| 3260 | + | |
| 3261 | + | |
3247 | 3262 | | |
3248 | 3263 | | |
3249 | 3264 | | |
| |||
0 commit comments