DescriptionFixing bad error return code in html5fs remove/unlink/rmdir.
Creating a FileRef does not check if the file exists or not.
We had assumed that if a FileRef could be created that
the file or directory in question exists.
Instead look at the result code from Query and possibly
return ENOENT if it turns out the file or diretory does not
exist.
BUG=None
TEST=nacl_io_tests
R=sbc@chromium.org
Committed: https://crrev.com/c27b19192a297c1b81da98e728305d4a5009a081
Cr-Commit-Position: refs/heads/master@{#314582}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|