Skip to content

Commit 48bbb73

Browse files
santigimenotargos
authored andcommitted
fs: fix mkdirSync so ENOSPC is correctly reported
Fixes: #42808 PR-URL: #42811 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent cd2f5a4 commit 48bbb73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node_file.cc

+1
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,7 @@ int MKDirpSync(uv_loop_t* loop,
13821382
}
13831383
break;
13841384
case UV_EACCES:
1385+
case UV_ENOSPC:
13851386
case UV_ENOTDIR:
13861387
case UV_EPERM: {
13871388
return err;

0 commit comments

Comments
 (0)