mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
btrfs: use ERRNO_IS_NOT_SUPPORTED() where appropriate
This commit is contained in:
@@ -88,7 +88,7 @@ int btrfs_subvol_make_fallback(int dir_fd, const char *path, mode_t mode) {
|
||||
|
||||
if (r >= 0)
|
||||
return 1; /* subvol worked */
|
||||
if (r != -ENOTTY)
|
||||
if (!ERRNO_IS_NOT_SUPPORTED(r))
|
||||
return r;
|
||||
|
||||
if (mkdirat(dir_fd, path, mode) < 0)
|
||||
|
||||
Reference in New Issue
Block a user