Skip to content

Commit

Permalink
fs: fix mkdirSync so ENOSPC is correctly reported
Browse files Browse the repository at this point in the history
Fixes: #42808

PR-URL: #42811
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
santigimeno committed Apr 26, 2022
1 parent 92f8c03 commit e91034c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node_file.cc
Expand Up @@ -1382,6 +1382,7 @@ int MKDirpSync(uv_loop_t* loop,
}
break;
case UV_EACCES:
case UV_ENOSPC:
case UV_ENOTDIR:
case UV_EPERM: {
return err;
Expand Down

0 comments on commit e91034c

Please sign in to comment.