diff options
author | Theodore Ts'o <tytso@mit.edu> | 2014-07-15 12:02:38 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-07-15 12:02:38 +0200 |
commit | 71d4f7d032149b935a26eb3ff85c6c837f3714e1 (patch) | |
tree | 86a356c9e02e69e609e0226435258f634620574d /fs/ext4/extents.c | |
parent | ext4: rearrange initialization to fix EXT4FS_DEBUG (diff) | |
download | linux-71d4f7d032149b935a26eb3ff85c6c837f3714e1.tar.xz linux-71d4f7d032149b935a26eb3ff85c6c837f3714e1.zip |
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 4da228a0e6d0..b30172dd55eb 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); } /* |