[PATCH] knfsd: improve the test for cross-device-rename in nfsd
commita56f39375a7bd183149c18286389e4a58ac9bc95
authorNeilBrown <neilb@suse.de>
Fri, 30 Jun 2006 08:56:10 +0000 (30 01:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 30 Jun 2006 18:25:39 +0000 (30 11:25 -0700)
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 <viro@ftp.linux.org.uk>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/vfs.c