projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08439fe
)
ext4: remove unnecessary lock/unlock of i_block_reservation_lock
author
Maurizio Lombardi
<
[email protected]
>
Fri, 3 Apr 2015 04:02:53 +0000
(
00:02
-0400)
committer
Theodore Ts'o
<
[email protected]
>
Fri, 3 Apr 2015 04:02:53 +0000
(
00:02
-0400)
This is a leftover of commit
71d4f7d032149b935a26eb3ff85c6c837f3714e1
Signed-off-by: Maurizio Lombardi <
[email protected]
>
Signed-off-by: Theodore Ts'o <
[email protected]
>
Reviewed-by: Lukas Czerner <
[email protected]
>
fs/ext4/balloc.c
patch
|
blob
|
history
diff --git
a/fs/ext4/balloc.c
b/fs/ext4/balloc.c
index 9fadcf43342da4137e0e4c1c6e7b1f791a6ca32b..955bf49a79455ef09ac8ff24940ba808d68f6554 100644
(file)
--- 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));
}