]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ntfs3: Move ni_lock_dir and ni_unlock into ntfs_create_inode
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 23 Sep 2021 15:04:26 +0000 (18:04 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 24 Sep 2021 14:39:57 +0000 (17:39 +0300)
commit84a166fb90b4fbdb6c8b88e5a0da9fb485b22cde
tree4c60e91bb33a791d3d7dac1c112850d5d5fe6239
parent950f2c64188c065390361afc8595ce940d306439
fs/ntfs3: Move ni_lock_dir and ni_unlock into ntfs_create_inode

Now ntfs3 locks mutex for smaller time.
Theoretically in successful cases those locks aren't needed at all.
But proving the same for error cases is difficult.
So instead of removing them we just move them.

Reviewed-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/inode.c
fs/ntfs3/namei.c