Searched hist:"6 fe43f9e3701f7a9f2be151a5e6cfe94b87e92f9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfs/ |
H A D | dir.c | diff 6fe43f9e3701f7a9f2be151a5e6cfe94b87e92f9 Tue Oct 18 16:20:22 CDT 2005 Trond Myklebust <Trond.Myklebust@netapp.com> NFS: Fix rename of directory onto empty directory
If someone tries to rename a directory onto an empty directory, we currently fail and return EBUSY. This patch ensures that we try the rename if both source and target are directories, and that we fail with a correct error of EISDIR if the source is not a directory.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
|