Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1434290

Re: [GIT PULL for 4.8] consolidate vfs API for overlayfs

From Miklos Szeredi <miklos@szeredi.hu>
Newsgroups linux.kernel
Subject Re: [GIT PULL for 4.8] consolidate vfs API for overlayfs
Date 2016-06-30 09:30 +0200
Message-ID <rPEA9-6Gs-7@gated-at.bofh.it> (permalink)
References <rOWpr-4kK-31@gated-at.bofh.it> <rPxIm-2un-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 30, 2016 at 1:09 AM, Al Viro <viro@zeniv.linux.org.uk> wrote:
> On Tue, Jun 28, 2016 at 10:18:10AM +0200, Miklos Szeredi wrote:
>> Hi Al,
>>
>> Please pull from:
>>
>>   git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git d_real
>>
>> This consolidates the d_real/d_select_inode API as well as some documentation
>> cleanups.
>
> Two notes:
>
> 1) you have 4 places with identical "if DCACHE_OP_REAL is there,
> call ->d_real(dentry, ..., ...), otherwise return dentry".  And you have
> exactly one place where d_real() wrapper is called.  Looks like we would
> be better off with the calling conventions for wrapper updated as well.
>
> 2) while we can't turn dentry argument into const struct dentry * (due to
> ovl_copy_up()), could we at least do that to the inode one?
>
> IOW, how about this, on top of that branch?  Or fold it into the commit
> changing the arguments of ->d_real(), for that matter...

Makes sense.  Folded, updated doc and force pushed to the same branch.

Thanks,
Miklos

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[GIT PULL for 4.8] consolidate vfs API for overlayfs Miklos Szeredi <miklos@szeredi.hu> - 2016-06-28 10:20 +0200
  Re: [GIT PULL for 4.8] consolidate vfs API for overlayfs Al Viro <viro@ZenIV.linux.org.uk> - 2016-06-30 02:10 +0200
    Re: [GIT PULL for 4.8] consolidate vfs API for overlayfs Miklos Szeredi <miklos@szeredi.hu> - 2016-06-30 09:30 +0200

csiph-web