diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-27 05:52:22 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-21 17:17:07 +0300 |
commit | 504794067fc266be5ac170777a94a927a72ac846 (patch) | |
tree | 89f7dbd3409925ef85921ce9951dbbf57647fb04 /fs/bcachefs/fs-ioctl.c | |
parent | f648b6c12b70af9d24a293617102729cee6b7862 (diff) | |
download | linux-504794067fc266be5ac170777a94a927a72ac846.tar.xz |
bcachefs: Replace bare EEXIST with private error codes
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs-ioctl.c')
-rw-r--r-- | fs/bcachefs/fs-ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs-ioctl.c b/fs/bcachefs/fs-ioctl.c index 3551a737181b..79a0c8732bce 100644 --- a/fs/bcachefs/fs-ioctl.c +++ b/fs/bcachefs/fs-ioctl.c @@ -373,7 +373,7 @@ retry: } if (dst_dentry->d_inode) { - error = -EEXIST; + error = -BCH_ERR_EEXIST_subvolume_create; goto err3; } |