diff --git a/fs/ext4/xattr_security.c b/fs/ext4/xattr_security.c index 629001b2863263ccf23800c8b7f13cdd89d95947..197a9d8a15efe6822a2d55052005b4a23d767b31 100644 --- a/fs/ext4/xattr_security.c +++ b/fs/ext4/xattr_security.c @@ -43,7 +43,7 @@ ext4_initxattrs(struct inode *inode, const struct xattr *xattr_array, err = ext4_xattr_set_handle(handle, inode, EXT4_XATTR_INDEX_SECURITY, xattr->name, xattr->value, - xattr->value_len, 0); + xattr->value_len, XATTR_CREATE); if (err < 0) break; }