Whamcloud - gitweb
LU-6142 lustre: remove ll_file_*_flag wrappers.
[fs/lustre-release.git] / lustre / llite / crypto.c
index 7e743c8..3f69d39 100644 (file)
@@ -105,7 +105,7 @@ static int ll_set_context(struct inode *inode, const void *ctx, size_t len,
                return -EPERM;
 
        dentry = (struct dentry *)fs_data;
-       ll_file_set_flag(ll_i2info(inode), LLIF_SET_ENC_CTX);
+       set_bit(LLIF_SET_ENC_CTX, &ll_i2info(inode)->lli_flags);
        rc = ll_vfs_setxattr(dentry, inode, LL_XATTR_NAME_ENCRYPTION_CONTEXT,
                             ctx, len, XATTR_CREATE);
        if (rc)