OSDN Git Service

Btrfs: do not unnecessarily pass write_lock_level when processing leaf
authorLiu Bo <bo.liu@linux.alibaba.com>
Tue, 14 Aug 2018 02:46:53 +0000 (10:46 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:26 +0000 (17:23 +0200)
commit4b6f8e9695da65e29f9f8ee84b39e0ba5b45e8e9
tree1bb0321b612f8a0a5c08985151fd0ed085221f8c
parent4fd786e6c3d67b1348e0ad4f450efe9fc9d7a306
Btrfs: do not unnecessarily pass write_lock_level when processing leaf

As we're going to return right after the call, it's not necessary to get
update the new write_lock_level from unlock_up.

Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c