mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
stop passing nameidata to ->lookup()
Just the flags; only NFS cares even about that, but there are legitimate uses for such argument. And getting rid of that completely would require splitting ->lookup() into a couple of methods (at least), so let's leave that alone for now... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
201f956e43
commit
00cd8dd3bf
79 changed files with 115 additions and 114 deletions
|
@ -53,7 +53,7 @@ static int simple_delete_dentry(const struct dentry *dentry)
|
|||
* Lookup the data. This is trivial - if the dentry didn't already
|
||||
* exist, we know it is negative. Set d_op to delete negative dentries.
|
||||
*/
|
||||
struct dentry *simple_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd)
|
||||
struct dentry *simple_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
|
||||
{
|
||||
static const struct dentry_operations simple_dentry_operations = {
|
||||
.d_delete = simple_delete_dentry,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue