File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3045,8 +3045,7 @@ struct dentry *d_ancestor(struct dentry *p1, struct dentry *p2)
30453045 * Note: If ever the locking in lock_rename() changes, then please
30463046 * remember to update this too...
30473047 */
3048- static int __d_unalias (struct inode * inode ,
3049- struct dentry * dentry , struct dentry * alias )
3048+ static int __d_unalias (struct dentry * dentry , struct dentry * alias )
30503049{
30513050 struct mutex * m1 = NULL ;
30523051 struct rw_semaphore * m2 = NULL ;
@@ -3127,7 +3126,7 @@ struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry)
31273126 inode -> i_sb -> s_id );
31283127 } else if (!IS_ROOT (new )) {
31293128 struct dentry * old_parent = dget (new -> d_parent );
3130- int err = __d_unalias (inode , dentry , new );
3129+ int err = __d_unalias (dentry , new );
31313130 write_sequnlock (& rename_lock );
31323131 if (err ) {
31333132 dput (new );
You can’t perform that action at this time.
0 commit comments