filesys: correct error return code
authorAlan Cox <alan@linux.intel.com>
Tue, 25 Jul 2017 10:43:17 +0000 (11:43 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 25 Jul 2017 10:43:17 +0000 (11:43 +0100)
Kernel/filesys.c

index abfa451..c205f30 100644 (file)
@@ -743,7 +743,7 @@ int8_t uf_alloc_n(int base)
             return j;
         }
     }
-    udata.u_error = ENFILE;
+    udata.u_error = EMFILE;
     return -1;
 }