diff options
Diffstat (limited to 'fs/overlayfs/inode.c')
-rw-r--r-- | fs/overlayfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c index 5ac1236afb15..04f124884687 100644 --- a/fs/overlayfs/inode.c +++ b/fs/overlayfs/inode.c | |||
@@ -205,7 +205,7 @@ static int ovl_readlink(struct dentry *dentry, char __user *buf, int bufsiz) | |||
205 | 205 | ||
206 | static bool ovl_is_private_xattr(const char *name) | 206 | static bool ovl_is_private_xattr(const char *name) |
207 | { | 207 | { |
208 | return strncmp(name, "trusted.overlay.", 14) == 0; | 208 | return strncmp(name, OVL_XATTR_PRE_NAME, OVL_XATTR_PRE_LEN) == 0; |
209 | } | 209 | } |
210 | 210 | ||
211 | int ovl_setxattr(struct dentry *dentry, const char *name, | 211 | int ovl_setxattr(struct dentry *dentry, const char *name, |