Message ID | 1662429337-18737-25-git-send-email-jsimmons@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | lustre: update to OpenSFS tree Sept 5, 2022 | expand |
diff --git a/fs/lustre/llite/file.c b/fs/lustre/llite/file.c index 115ee69..5394cce 100644 --- a/fs/lustre/llite/file.c +++ b/fs/lustre/llite/file.c @@ -5268,6 +5268,9 @@ int ll_getattr_dentry(struct dentry *de, struct kstat *stat, u32 request_mask, } stat->attributes_mask = STATX_ATTR_IMMUTABLE | STATX_ATTR_APPEND; +#ifdef CONFIG_FS_ENCRYPTION + stat->attributes_mask |= STATX_ATTR_ENCRYPTED; +#endif stat->attributes |= ll_inode_to_ext_flags(inode->i_flags); stat->result_mask &= request_mask;