summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-04-22 08:39:48 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-22 19:19:01 +0200
commitfd49e8ee70b306a003323a17bbcc0633f322c135 (patch)
treebe0e5f131ee5afdbaa7a6b5fc76bb36baad8c067 /fs/reiserfs
parentKVM: SVM: Allocate SEV command structures on local stack (diff)
parentsvm/sev: Register SEV and SEV-ES ASIDs to the misc controller (diff)
downloadlinux-fd49e8ee70b306a003323a17bbcc0633f322c135.tar.xz
linux-fd49e8ee70b306a003323a17bbcc0633f322c135.zip
Merge branch 'kvm-sev-cgroup' into HEAD
Diffstat (limited to 'fs/reiserfs')
-rw-r--r--fs/reiserfs/xattr.h2
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))