summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaurizio Lombardi <mlombard@redhat.com>2015-04-03 00:02:53 -0400
committerTheodore Ts'o <tytso@mit.edu>2015-04-03 00:02:53 -0400
commit5a4f3145aa685ddc2caf424763d42d3eaaebbc6f (patch)
treeadd66e48a0259a0d127319d9635330adaf88c311
parent08439fec266c3cc5702953b4f54bdf5649357de0 (diff)
downloadop-kernel-dev-5a4f3145aa685ddc2caf424763d42d3eaaebbc6f.zip
op-kernel-dev-5a4f3145aa685ddc2caf424763d42d3eaaebbc6f.tar.gz
ext4: remove unnecessary lock/unlock of i_block_reservation_lock
This is a leftover of commit 71d4f7d032149b935a26eb3ff85c6c837f3714e1 Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Lukas Czerner <lczerner@redhat.com>
-rw-r--r--fs/ext4/balloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
index 9fadcf4..955bf49 100644
--- a/fs/ext4/balloc.c
+++ b/fs/ext4/balloc.c
@@ -640,8 +640,6 @@ ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
* fail EDQUOT for metdata, but we do account for it.
*/
if (!(*errp) && (flags & EXT4_MB_DELALLOC_RESERVED)) {
- spin_lock(&EXT4_I(inode)->i_block_reservation_lock);
- spin_unlock(&EXT4_I(inode)->i_block_reservation_lock);
dquot_alloc_block_nofail(inode,
EXT4_C2B(EXT4_SB(inode->i_sb), ar.len));
}
OpenPOWER on IntegriCloud