bcachefs: Some project id fixes
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 24 Aug 2020 18:57:48 +0000 (14:57 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:44 +0000 (17:08 -0400)
commit7af0cec3076886d16114f4ca9794dfba3674794e
tree4b852054b0663e91328861142f151eecfb221cf2
parentac7eef0318c34c87e7ef9d574175917de1817ae6
bcachefs: Some project id fixes

Inode options that are accessible via the xattr interface are stored
with a +1 bias, so that a value of 0 means unset. We weren't handling
this consistently.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-ioctl.c
fs/bcachefs/xattr.c