diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-10-09 09:15:36 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-09 22:48:11 -0700 |
commit | 077d73fa467bcd0a5ac4be26bb4b366d5fc20a69 (patch) | |
tree | 605256e0e725f375a0f9aedb6b23d9e47a8ef354 /xlators/performance/quick-read | |
parent | 73027dae835fc968dc443294fc8c109110168d37 (diff) |
posix: Ensure ENOTEMPTY return on rmdir
Since we added an extra step after rmdir, i.e.
the lstat on parent dir as part of the NFS-friendly
changes, the successful return from postparent lstat
clobbers the -1 error return from rmdir.
This prevents this particularly ENOTEMPTY error from
being propagated to higher translators.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 145 (NFSv3 related additions to 2.1 task list)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=145
Diffstat (limited to 'xlators/performance/quick-read')
0 files changed, 0 insertions, 0 deletions