HGFS tweaks

This commit is contained in:
David van Moolenbroek
2010-01-27 22:59:03 +00:00
parent 6959226707
commit 564e2a4368
6 changed files with 9 additions and 8 deletions

View File

@@ -101,7 +101,7 @@ PUBLIC int do_write()
count = m_in.REQ_NBYTES;
grant = m_in.REQ_GRANT;
if (count <= 0) return EINVAL;
if (count == 0) return EINVAL;
if ((r = write_file(ino, &pos, &count, &grant)) != OK)
return r;