]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: start handle at the last possible moment in ext4_rmdir()
authorTheodore Ts'o <tytso@mit.edu>
Sat, 9 Feb 2013 14:45:11 +0000 (09:45 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 9 Feb 2013 14:45:11 +0000 (09:45 -0500)
commit52efe2f5ae80b49630b3c71c1eb08b4dac9459eb
tree7045f5bebd461b6f2cf3e43c008f4d150232e05a
parent37bf857c24a133b989294c974fb3df23f688cb65
ext4: start handle at the last possible moment in ext4_rmdir()

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: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/namei.c