Searched hist:"2 d902671ce1cd98cdc88d78c481889a1b2996101" (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/fs/overlayfs/ |
H A D | inode.c | diff 2d902671ce1cd98cdc88d78c481889a1b2996101 Thu Jun 30 01:53:27 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> vfs: merge .d_select_inode() into .d_real()
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 in the overlay dentry as well as the underlying inode.
vfs_rename() uses ->d_select_inode() but passes zero flags. ->d_real() with a zero inode would have worked just as well here.
This patch merges the functionality of ->d_select_inode() into ->d_real() by adding an 'open_flags' argument to the latter.
[Al Viro] Make the signature of d_real() match that of ->d_real() again. And constify the inode argument, while we are at it.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|
H A D | overlayfs.h | diff 2d902671ce1cd98cdc88d78c481889a1b2996101 Thu Jun 30 01:53:27 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> vfs: merge .d_select_inode() into .d_real()
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 in the overlay dentry as well as the underlying inode.
vfs_rename() uses ->d_select_inode() but passes zero flags. ->d_real() with a zero inode would have worked just as well here.
This patch merges the functionality of ->d_select_inode() into ->d_real() by adding an 'open_flags' argument to the latter.
[Al Viro] Make the signature of d_real() match that of ->d_real() again. And constify the inode argument, while we are at it.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|
H A D | super.c | diff 2d902671ce1cd98cdc88d78c481889a1b2996101 Thu Jun 30 01:53:27 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> vfs: merge .d_select_inode() into .d_real()
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 in the overlay dentry as well as the underlying inode.
vfs_rename() uses ->d_select_inode() but passes zero flags. ->d_real() with a zero inode would have worked just as well here.
This patch merges the functionality of ->d_select_inode() into ->d_real() by adding an 'open_flags' argument to the latter.
[Al Viro] Make the signature of d_real() match that of ->d_real() again. And constify the inode argument, while we are at it.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|
/openbmc/linux/include/linux/ |
H A D | dcache.h | diff 2d902671ce1cd98cdc88d78c481889a1b2996101 Thu Jun 30 01:53:27 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> vfs: merge .d_select_inode() into .d_real()
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 in the overlay dentry as well as the underlying inode.
vfs_rename() uses ->d_select_inode() but passes zero flags. ->d_real() with a zero inode would have worked just as well here.
This patch merges the functionality of ->d_select_inode() into ->d_real() by adding an 'open_flags' argument to the latter.
[Al Viro] Make the signature of d_real() match that of ->d_real() again. And constify the inode argument, while we are at it.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|
H A D | fs.h | diff 2d902671ce1cd98cdc88d78c481889a1b2996101 Thu Jun 30 01:53:27 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> vfs: merge .d_select_inode() into .d_real()
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 in the overlay dentry as well as the underlying inode.
vfs_rename() uses ->d_select_inode() but passes zero flags. ->d_real() with a zero inode would have worked just as well here.
This patch merges the functionality of ->d_select_inode() into ->d_real() by adding an 'open_flags' argument to the latter.
[Al Viro] Make the signature of d_real() match that of ->d_real() again. And constify the inode argument, while we are at it.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|
/openbmc/linux/fs/ |
H A D | open.c | diff 2d902671ce1cd98cdc88d78c481889a1b2996101 Thu Jun 30 01:53:27 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> vfs: merge .d_select_inode() into .d_real()
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 in the overlay dentry as well as the underlying inode.
vfs_rename() uses ->d_select_inode() but passes zero flags. ->d_real() with a zero inode would have worked just as well here.
This patch merges the functionality of ->d_select_inode() into ->d_real() by adding an 'open_flags' argument to the latter.
[Al Viro] Make the signature of d_real() match that of ->d_real() again. And constify the inode argument, while we are at it.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|
H A D | dcache.c | diff 2d902671ce1cd98cdc88d78c481889a1b2996101 Thu Jun 30 01:53:27 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> vfs: merge .d_select_inode() into .d_real()
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 in the overlay dentry as well as the underlying inode.
vfs_rename() uses ->d_select_inode() but passes zero flags. ->d_real() with a zero inode would have worked just as well here.
This patch merges the functionality of ->d_select_inode() into ->d_real() by adding an 'open_flags' argument to the latter.
[Al Viro] Make the signature of d_real() match that of ->d_real() again. And constify the inode argument, while we are at it.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|
H A D | namei.c | diff 2d902671ce1cd98cdc88d78c481889a1b2996101 Thu Jun 30 01:53:27 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> vfs: merge .d_select_inode() into .d_real()
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 in the overlay dentry as well as the underlying inode.
vfs_rename() uses ->d_select_inode() but passes zero flags. ->d_real() with a zero inode would have worked just as well here.
This patch merges the functionality of ->d_select_inode() into ->d_real() by adding an 'open_flags' argument to the latter.
[Al Viro] Make the signature of d_real() match that of ->d_real() again. And constify the inode argument, while we are at it.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|