OSDN Git Service

fs/ntfs3: Rework file operations
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 31 Aug 2021 15:52:39 +0000 (18:52 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 31 Aug 2021 16:07:11 +0000 (19:07 +0300)
commit78ab59fee07f22464f32eafebab2bd97ba94ff2d
tree8c906238a8ffbc639ce1911295f6e961e6212f6e
parenta97131c29c997e81b6fa1d1adf8f3ca07b63a2e1
fs/ntfs3: Rework file operations

Rename now works "Add new name and remove old name".
"Remove old name and add new name" may result in bad inode
if we can't add new name and then can't restore (add) old name.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/attrib.c
fs/ntfs3/attrlist.c
fs/ntfs3/frecord.c
fs/ntfs3/fsntfs.c
fs/ntfs3/index.c
fs/ntfs3/inode.c
fs/ntfs3/namei.c
fs/ntfs3/ntfs_fs.h
fs/ntfs3/record.c
fs/ntfs3/xattr.c