diff options
author | Theodore Ts'o <tytso@mit.edu> | 2014-07-15 10:02:38 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-07-15 10:02:38 (GMT) |
commit | 71d4f7d032149b935a26eb3ff85c6c837f3714e1 (patch) | |
tree | 86a356c9e02e69e609e0226435258f634620574d /fs/ext4/extents.c | |
parent | d5e03cbb0c88cd1be39f2adc37d602230045964b (diff) | |
download | linux-71d4f7d032149b935a26eb3ff85c6c837f3714e1.tar.xz |
ext4: remove metadata reservation checks
Commit 27dd43854227b ("ext4: introduce reserved space") reserves 2% of
the file system space to make sure metadata allocations will always
succeed. Given that, tracking the reservation of metadata blocks is
no longer necessary.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/extents.c')
-rw-r--r-- | fs/ext4/extents.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 4da228a..b30172d 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -1808,8 +1808,7 @@ static void ext4_ext_try_to_merge_up(handle_t *handle, brelse(path[1].p_bh); ext4_free_blocks(handle, inode, NULL, blk, 1, - EXT4_FREE_BLOCKS_METADATA | EXT4_FREE_BLOCKS_FORGET | - EXT4_FREE_BLOCKS_RESERVE); + EXT4_FREE_BLOCKS_METADATA | EXT4_FREE_BLOCKS_FORGET); } /* |