syscall: 32bytes per dirent needed
authorAlan Cox <alan@linux.intel.com>
Sat, 27 Dec 2014 00:39:56 +0000 (00:39 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 27 Dec 2014 00:39:56 +0000 (00:39 +0000)
Kernel/syscall_fs.c

index 2d76dfb..b0245fc 100644 (file)
@@ -455,7 +455,7 @@ uint16_t nbytes;
  */
 int16_t _getdirent(void)
 {
-        if (nbytes < 16) {
+        if (nbytes < 32) {
                 udata.u_error = ENOSPC;
                 return -1;
         }