On Wed, Jan 25, 2017 at 05:06:39PM -0800, Omar Sandoval wrote: > From: Omar Sandoval <osandov@xxxxxx> > > When you snapshot a subvolume containing a subvolume, you get a > placeholder directory where the subvolume would be. These directory > inodes have ->i_ops set to btrfs_dir_ro_inode_operations. Previously, > these i_ops didn't include the xattr operation callbacks. The conversion > to xattr_handlers missed this case, leading to bogus attempts to set > xattrs on these inodes. This manifested itself as failures when running > delayed inodes. > > To fix this, clear IOP_XATTR in ->i_opflags on these inodes. > > Fixes: 6c6ef9f26e59 ("xattr: Stop calling {get,set,remove}xattr inode operations") > Cc: Andreas Gruenbacher <agruenba@xxxxxxxxxx> > Reported-by: Chris Murphy <lists@xxxxxxxxxxxxxxxxx> > Tested-by: Chris Murphy <lists@xxxxxxxxxxxxxxxxx> > Cc: <stable@xxxxxxxxxxxxxxx> # 4.9.x > Signed-off-by: Omar Sandoval <osandov@xxxxxx> Reviewed-by: David Sterba <dsterba@xxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html