Re: [PATCH] ovl: xattr filter fix

2016-06-02 Thread Vivek Goyal
On Thu, Jun 02, 2016 at 10:13:33AM +0200, Miklos Szeredi wrote: > a) ovl_need_xattr_filter() is wrong, we can have multiple lower layers > overlaid, all of which (except the lowest one) honouring the > "trusted.overlay.opaque" xattr. So need to filter everything except the > bottom and the pure-up

[PATCH] ovl: xattr filter fix

2016-06-02 Thread Miklos Szeredi
a) ovl_need_xattr_filter() is wrong, we can have multiple lower layers overlaid, all of which (except the lowest one) honouring the "trusted.overlay.opaque" xattr. So need to filter everything except the bottom and the pure-upper layer. b) we no longer can assume that inode is attached to dentry