]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/overlayfs/copy_up.c
Merge remote-tracking branch 'regulator/fix/tps65910' into regulator-linus
[karo-tx-linux.git] / fs / overlayfs / copy_up.c
index 54e5d6681786780812c9a5adddc27dd782b40bbb..43fdc2765aea65b85a20b0f28b844a3ba1b40d4e 100644 (file)
@@ -80,6 +80,8 @@ int ovl_copy_xattr(struct dentry *old, struct dentry *new)
        }
 
        for (name = buf; name < (buf + list_size); name += strlen(name) + 1) {
+               if (ovl_is_private_xattr(name))
+                       continue;
 retry:
                size = vfs_getxattr(old, name, value, value_size);
                if (size == -ERANGE)