Re: [PATCH v2 2/3] Btrfs: disable xattr operations on subvolume directories

2017-01-26 Thread David Sterba
On Wed, Jan 25, 2017 at 05:06:39PM -0800, Omar Sandoval wrote: > From: Omar Sandoval > > 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

[PATCH v2 2/3] Btrfs: disable xattr operations on subvolume directories

2017-01-25 Thread Omar Sandoval
From: Omar Sandoval 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.