1 ext4: remove unnecessary lock/unlock of i_block_reservation_lock
3 From: Maurizio Lombardi <mlombard@redhat.com>
5 This is a leftover of commit 71d4f7d032149b935a26eb3ff85c6c837f3714e1
7 Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
8 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
9 Reviewed-by: Lukas Czerner <lczerner@redhat.com>
11 fs/ext4/balloc.c | 2 --
12 1 file changed, 2 deletions(-)
14 diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
15 index 83a6f49..2072c70 100644
16 --- a/fs/ext4/balloc.c
17 +++ b/fs/ext4/balloc.c
18 @@ -641,8 +641,6 @@ ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
19 * fail EDQUOT for metdata, but we do account for it.
21 if (!(*errp) && (flags & EXT4_MB_DELALLOC_RESERVED)) {
22 - spin_lock(&EXT4_I(inode)->i_block_reservation_lock);
23 - spin_unlock(&EXT4_I(inode)->i_block_reservation_lock);
24 dquot_alloc_block_nofail(inode,
25 EXT4_C2B(EXT4_SB(inode->i_sb), ar.len));
31 To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
32 the body of a message to majordomo@vger.kernel.org
33 More majordomo info at http://vger.kernel.org/majordomo-info.html