From 838bbd755ea6a501892546b07b77d0605d2114f0 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Mon, 2 Jun 2025 17:24:53 -0400 Subject: Update bcachefs sources to a41cc7750fb8 bcachefs: Add flags to subvolume_to_text() --- libbcachefs/fs-ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbcachefs/fs-ioctl.c') diff --git a/libbcachefs/fs-ioctl.c b/libbcachefs/fs-ioctl.c index 05361a79..4e72e654 100644 --- a/libbcachefs/fs-ioctl.c +++ b/libbcachefs/fs-ioctl.c @@ -268,13 +268,13 @@ static long bch2_ioctl_subvolume_create(struct bch_fs *c, struct file *filp, } if (dst_dentry->d_inode) { - error = -BCH_ERR_EEXIST_subvolume_create; + error = bch_err_throw(c, EEXIST_subvolume_create); goto err3; } dir = dst_path.dentry->d_inode; if (IS_DEADDIR(dir)) { - error = -BCH_ERR_ENOENT_directory_dead; + error = bch_err_throw(c, ENOENT_directory_dead); goto err3; } -- cgit v1.2.3