diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-22 08:39:48 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-22 19:19:01 +0200 |
commit | fd49e8ee70b306a003323a17bbcc0633f322c135 (patch) | |
tree | be0e5f131ee5afdbaa7a6b5fc76bb36baad8c067 /fs/reiserfs/xattr.h | |
parent | KVM: SVM: Allocate SEV command structures on local stack (diff) | |
parent | svm/sev: Register SEV and SEV-ES ASIDs to the misc controller (diff) | |
download | linux-fd49e8ee70b306a003323a17bbcc0633f322c135.tar.xz linux-fd49e8ee70b306a003323a17bbcc0633f322c135.zip |
Merge branch 'kvm-sev-cgroup' into HEAD
Diffstat (limited to 'fs/reiserfs/xattr.h')
-rw-r--r-- | fs/reiserfs/xattr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/xattr.h b/fs/reiserfs/xattr.h index 9b3b06da568c..e47fde1182de 100644 --- a/fs/reiserfs/xattr.h +++ b/fs/reiserfs/xattr.h @@ -44,7 +44,7 @@ void reiserfs_security_free(struct reiserfs_security_handle *sec); static inline int reiserfs_xattrs_initialized(struct super_block *sb) { - return REISERFS_SB(sb)->priv_root != NULL; + return REISERFS_SB(sb)->priv_root && REISERFS_SB(sb)->xattr_root; } #define xattr_size(size) ((size) + sizeof(struct reiserfs_xattr_header)) |