Skip to content
Commit 931b6864 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: start handle at the last possible moment in ext4_unlink()



Don't start the jbd2 transaction handle until after the directory
entry has been found, to minimize the amount of time that a handle is
held active.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
parent 47564bfb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment