[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d865b68eca9ac7455829e38665bda05d3d0790b0.camel@ibm.com>
Date: Tue, 29 Apr 2025 21:27:18 +0000
From: Viacheslav Dubeyko <Slava.Dubeyko@....com>
To: "frank.li@...o.com" <frank.li@...o.com>,
"glaubitz@...sik.fu-berlin.de"
<glaubitz@...sik.fu-berlin.de>,
"slava@...eyko.com" <slava@...eyko.com>
CC: "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] hfsplus: fix to update ctime after rename
On Tue, 2025-04-29 at 14:15 -0600, Yangtao Li wrote:
> [BUG]
> $ sudo ./check generic/003
> FSTYP -- hfsplus
> PLATFORM -- Linux/x86_64 graphic 6.8.0-58-generic #60~22.04.1-Ubuntu
> MKFS_OPTIONS -- /dev/loop29
> MOUNT_OPTIONS -- /dev/loop29 /mnt/scratch
>
> generic/003 - output mismatch
> --- tests/generic/003.out 2025-04-27 08:49:39.876945323 -0600
> +++ /home/graphic/fs/xfstests-dev/results//generic/003.out.bad
>
> QA output created by 003
> +ERROR: change time has not been updated after changing file1
> Silence is golden
> ...
>
> Ran: generic/003
> Failures: generic/003
> Failed 1 of 1 tests
>
> [CAUSE]
> change time has not been updated after changing file1
>
> [FIX]
> Update file ctime after rename in hfsplus_rename().
>
> Signed-off-by: Yangtao Li <frank.li@...o.com>
> ---
> fs/hfsplus/dir.c | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/fs/hfsplus/dir.c b/fs/hfsplus/dir.c
> index 876bbb80fb4d..e77942440240 100644
> --- a/fs/hfsplus/dir.c
> +++ b/fs/hfsplus/dir.c
> @@ -534,6 +534,7 @@ static int hfsplus_rename(struct mnt_idmap *idmap,
> struct inode *new_dir, struct dentry *new_dentry,
> unsigned int flags)
> {
Unfortunately, I am unable to apply you patch. In 6.15-rc4 we have already:
static int hfsplus_rename(struct mnt_idmap *idmap,
struct inode *old_dir, struct dentry *old_dentry,
struct inode *new_dir, struct dentry *new_dentry,
unsigned int flags)
Could you please prepare the patch for latest state of the kernel tree?
Thanks,
Slava.
Powered by blists - more mailing lists