mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-19 13:38:24 -05:00
bcachefs: Add missing bch2_err_class() to fileattr_set()
Make sure we return a standard error code. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
@@ -1732,7 +1732,8 @@ static int bch2_fileattr_set(struct mnt_idmap *idmap,
|
||||
bch2_write_inode(c, inode, fssetxattr_inode_update_fn, &s,
|
||||
ATTR_CTIME);
|
||||
mutex_unlock(&inode->ei_update_lock);
|
||||
return ret;
|
||||
|
||||
return bch2_err_class(ret);
|
||||
}
|
||||
|
||||
static const struct file_operations bch_file_operations = {
|
||||
|
||||
Reference in New Issue
Block a user