diff options
author | Sripathi Kodi <sripathik@in.ibm.com> | 2010-06-09 14:33:22 +0530 |
---|---|---|
committer | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2010-09-08 22:56:39 +0530 |
commit | 926487b70be7cfd0303168a68a092bc6faf122ca (patch) | |
tree | 35949e47058804214fac912e6ede267a3ef1ddf8 /target-cris | |
parent | be940c8716d4d7783b1649f5f286b4c0187f9f6d (diff) |
virtio-9p: Return correct error from v9fs_remove
Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
In v9fs_remove_post_remove() we currently ignore the error returned by
the previous call to remove() and return an error only if freeing the
fid fails. However, the client expects to see the error from remove().
Currently the client falsely thinks that the remove call has always
succeeded. For example, doing rmdir on a non-empty directory does
not return ENOTEMPTY.
With this patch we ignore the error from free_fid(). The client cannot
use this error value anyway.
Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Diffstat (limited to 'target-cris')
0 files changed, 0 insertions, 0 deletions