Skip to content
Snippets Groups Projects
Commit 031e9285 authored by Eric Mei's avatar Eric Mei
Browse files

fix my previous careless fix

parent 88623cf1
No related branches found
No related tags found
No related merge requests found
......@@ -909,7 +909,7 @@ static int ll_rename_raw(struct nameidata *srcnd, struct nameidata *tgtnd)
int err;
ENTRY;
if (srcnd->mnt != tgtnd)
if (srcnd->mnt != tgtnd->mnt)
RETURN(-EXDEV);
CDEBUG(D_VFSTRACE,"VFS Op:oldname=%.*s,src_dir=%lu/%u(%p),newname=%.*s,"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment