Re: [PATCH v1 v1] ntfs: do not update ctime when setxattr fails
Hyunchul Lee <[email protected]>
| Newsgroups | org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CANFS6bbzESHvokdHamis_xtO=O7icTEsu_vpSsK7M+9uG9LTHA@mail.gmail.com> |
Hi Baolin, 2026년 8월 18일 (화) 오후 5:28, Baolin Liu <[email protected]>님이 작성: > > From: Baolin Liu <[email protected]> > > ntfs_setxattr() updates ctime and marks the inode dirty even when > the operation fails. A failed setxattr(2) must not change file > metadata. > > Update ctime only on success. > > Fixes: fc053f05ca28 ("ntfs: add reparse and ea operations") > Signed-off-by: Baolin Liu <[email protected]> Looks good to me. Reviewed-by: Hyunchul Lee <[email protected]> -- Thanks, Hyunchul