]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] 9p: fix rename return code
authorEric Van Hensbergen <ericvh@gmail.com>
Fri, 26 Jan 2007 08:57:04 +0000 (00:57 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 21:50:59 +0000 (13:50 -0800)
commit621997cd392a541bbe964e7521e2e4b2a7a03c4e
treeb9ece289d5ff4d69616c02510edf2c00a858ccfd
parentf94b347059809aecd97af53a084fe5f3db045d92
[PATCH] 9p: fix rename return code

9p doesn't handle renames between directories -- however, we were returning
EPERM instead of EXDEV when we detected this case.

Signed-off-by: Eric Van Hensbergren <ericvh@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/9p/vfs_inode.c