Re: [PATCH 1/3] vfs: merge .d_select_inode() into .d_real()

2016-05-27 Thread Miklos Szeredi
On Sun, May 22, 2016 at 6:39 PM, James Bottomley wrote: > On Tue, 2016-05-17 at 23:53 +0200, Miklos Szeredi wrote: >> The two methods essentially do the same: find the real dentry/inode >> belonging to an overlay dentry. The difference is in the usage: >> >> vfs_open() uses ->d_select_inode() and

Re: [PATCH 1/3] vfs: merge .d_select_inode() into .d_real()

2016-05-22 Thread James Bottomley
On Tue, 2016-05-17 at 23:53 +0200, Miklos Szeredi wrote: > The two methods essentially do the same: find the real dentry/inode > belonging to an overlay dentry. The difference is in the usage: > > vfs_open() uses ->d_select_inode() and expects the function to > perform copy-up if necessary based

[PATCH 1/3] vfs: merge .d_select_inode() into .d_real()

2016-05-17 Thread Miklos Szeredi
The two methods essentially do the same: find the real dentry/inode belonging to an overlay dentry. The difference is in the usage: vfs_open() uses ->d_select_inode() and expects the function to perform copy-up if necessary based on the open flags argument. file_dentry() uses ->d_real() passing