Home
last modified time | relevance | path

Searched hist:"6 fe43f9e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfs/
H A Ddir.c6fe43f9e 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>