RE: [GIT PULL] iomap: new code for 5.13-rc1
From: Justin He
Date: Fri Apr 30 2021 - 02:14:04 EST
Hi Al Viro
> -----Original Message-----
> From: Al Viro <viro@xxxxxxxxxxxxxxxx> On Behalf Of Al Viro
> Sent: Friday, April 30, 2021 11:21 AM
> To: Justin He <Justin.He@xxxxxxx>
> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>; Rasmus Villemoes
> <linux@xxxxxxxxxxxxxxxxxx>; Christoph Hellwig <hch@xxxxxx>; Darrick J. Wong
> <djwong@xxxxxxxxxx>; linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>; linux-
> xfs <linux-xfs@xxxxxxxxxxxxxxx>; Dave Chinner <david@xxxxxxxxxxxxx>; Linux
> Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>; Eric Sandeen
> <sandeen@xxxxxxxxxxx>; Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Subject: Re: [GIT PULL] iomap: new code for 5.13-rc1
>
> On Fri, Apr 30, 2021 at 03:17:02AM +0000, Justin He wrote:
>
> > Is it a good idea to introduce a new d_path_nolock() for
> file_dentry_name()?
> > In d_path_nolock(), if it detects that there is conflicts with mount_lock
> > or rename_lock, then returned NULL as a name of that vfsmount?
>
> Just what does vfsmount have to do with rename_lock? And what's the point
> of the entire mess, anyway?
Sorry, do you suggest not considering rename_lock/mount_lock at all for file_dentry_name()?
--
Cheers,
Justin (Jia He)
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.