Re: [PATCH v2 01/19] fs: add two trivial lookup helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 30, 2022 at 05:25:32PM +0200, Christoph Hellwig wrote:
> > +
> > +/*
> > + * Like lookup_positive_unlocked() but takes a mount's idmapping into account.
> > + */
> 
> Can you add a real kerneldoc comment here instead of referring to
> another function that will hopefully be removed rather sooner than
> later?

Done.

> 
> > +struct dentry *lookup_one_unlocked(struct user_namespace *, const char *, struct dentry *, int);
> > +struct dentry *lookup_one_positive_unlocked(struct user_namespace *, const char *, struct dentry *, int);
> 
> Please spellt out the parameter names and avoid the overy long lines.

Done.

> 
> Otherwise looks good:
> 
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Thanks!



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux