fs/ntfs3: Fix ntfs_create_inode()
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 16 Jan 2023 09:03:24 +0000 (13:03 +0400)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 27 Mar 2023 12:59:18 +0000 (16:59 +0400)
commit1842fbc8d25e629e54080fe3c5928d4ce8ccf55a
treef732ca28c31c9da8f8ce3ec35e32edbdd1a2817f
parent267a36ba30a7425ad59d20e7e7e33bbdcc9cfb0a
fs/ntfs3: Fix ntfs_create_inode()

Previous variant creates an inode that requires update the parent directory
(ea_packed_size). Operations in ntfs_create_inode have been rearranged
so we insert new directory entry with correct ea_packed_size and
new created inode does not require update it's parent directory.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/file.c
fs/ntfs3/inode.c
fs/ntfs3/ntfs_fs.h
fs/ntfs3/xattr.c