On 19:27 10/02, Matthew Wilcox wrote: > On Thu, Feb 10, 2022 at 10:51:42AM -0600, Goldwyn Rodrigues wrote: > > WRITE_ONCE(sb->s_flags, ((sb->s_flags & ~fc->sb_flags_mask) | > > - (fc->sb_flags & fc->sb_flags_mask))); > > + (sb->s_flags & fc->sb_flags_mask))); > > + > > what? > > (a & ~b) | (a & b) == a, no? Yup! I am re-enrolling into middle school to learn bit-arithmetic. Apparently, I don't need this change at all and can be done in btrfs code by changing the flags parameter. Will post a patch to btrfs ML with the updated patch. -- Goldwyn