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:
@@ -95,7 +95,7 @@ static struct buffer_head *qnx4_find_entry(int len, struct inode *dir,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
struct dentry * qnx4_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd)
|
||||
struct dentry * qnx4_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
|
||||
{
|
||||
int ino;
|
||||
struct qnx4_inode_entry *de;
|
||||
|
||||
@@ -23,7 +23,7 @@ struct qnx4_inode_info {
|
||||
};
|
||||
|
||||
extern struct inode *qnx4_iget(struct super_block *, unsigned long);
|
||||
extern struct dentry *qnx4_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd);
|
||||
extern struct dentry *qnx4_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags);
|
||||
extern unsigned long qnx4_count_free_blocks(struct super_block *sb);
|
||||
extern unsigned long qnx4_block_map(struct inode *inode, long iblock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user