File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3045,8 +3045,7 @@ struct dentry *d_ancestor(struct dentry *p1, struct dentry *p2)
3045
3045
* Note: If ever the locking in lock_rename() changes, then please
3046
3046
* remember to update this too...
3047
3047
*/
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 )
3050
3049
{
3051
3050
struct mutex * m1 = NULL ;
3052
3051
struct rw_semaphore * m2 = NULL ;
@@ -3127,7 +3126,7 @@ struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry)
3127
3126
inode -> i_sb -> s_id );
3128
3127
} else if (!IS_ROOT (new )) {
3129
3128
struct dentry * old_parent = dget (new -> d_parent );
3130
- int err = __d_unalias (inode , dentry , new );
3129
+ int err = __d_unalias (dentry , new );
3131
3130
write_sequnlock (& rename_lock );
3132
3131
if (err ) {
3133
3132
dput (new );
You can’t perform that action at this time.
0 commit comments