[PATCH] change d_add_ci argument ordering
As pointed out during review d_add_ci argument order should match d_add, so switch the dentry and inode arguments. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
committed by
Al Viro
parent
2d8a10cd17
commit
e45b590b97
@ -355,7 +355,7 @@ xfs_vn_ci_lookup(
|
||||
/* else case-insensitive match... */
|
||||
dname.name = ci_name.name;
|
||||
dname.len = ci_name.len;
|
||||
dentry = d_add_ci(VFS_I(ip), dentry, &dname);
|
||||
dentry = d_add_ci(dentry, VFS_I(ip), &dname);
|
||||
kmem_free(ci_name.name);
|
||||
return dentry;
|
||||
}
|
||||
|
Reference in New Issue
Block a user