[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:
parent
2d8a10cd17
commit
e45b590b97
3 changed files with 3 additions and 3 deletions
|
@ -1236,7 +1236,7 @@ struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry)
|
|||
* If no entry exists with the exact case name, allocate new dentry with
|
||||
* the exact case, and return the spliced entry.
|
||||
*/
|
||||
struct dentry *d_add_ci(struct inode *inode, struct dentry *dentry,
|
||||
struct dentry *d_add_ci(struct dentry *dentry, struct inode *inode,
|
||||
struct qstr *name)
|
||||
{
|
||||
int error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue