[PATCH] knfsd: improve the test for cross-device-rename in nfsd
authorNeilBrown <[email protected]>
Fri, 30 Jun 2006 08:56:10 +0000 (01:56 -0700)
committerLinus Torvalds <[email protected]>
Fri, 30 Jun 2006 18:25:39 +0000 (11:25 -0700)
commita56f39375a7bd183149c18286389e4a58ac9bc95
treede85fd3c6917ebf75c37d32eaa33707c1a0c1111
parent8c2a6a40902323b739e4e740ebf91ee357a5de5b
[PATCH] knfsd: improve the test for cross-device-rename in nfsd

Just testing the i_sb isn't really enough, at least the vfsmnt must be the
same.  Thanks Al.

Cc: Al Viro <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/nfsd/vfs.c