diff options
author | Filipe Manana <[email protected]> | 2017-07-27 19:52:55 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2017-08-18 16:36:29 +0200 |
commit | 4a4b964f42fa5a70d0023d2f1d44a2764bd144f4 (patch) | |
tree | 76bdd44a66758499fea197a3403d5551050afe0d /fs/btrfs/extent_io.c | |
parent | 938e1c77f8c9d345dab7c44ea5c0515fdad1ee8c (diff) |
Btrfs: avoid unnecessarily locking inode when clearing a range
If the range being cleared was not marked for defrag and we are not
about to clear the range from the defrag status, we don't need to
lock and unlock the inode.
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: Chris Mason <[email protected]>
Reviewed-by: Wang Shilong <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions