projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ocfs2: Check xattr block signatures properly.
[deliverable/linux.git]
/
fs
/
ocfs2
/
ocfs2.h
diff --git
a/fs/ocfs2/ocfs2.h
b/fs/ocfs2/ocfs2.h
index a21a465490c40d0ee0ef3fc3d554d9f2196bdac2..fef7ece32376f65ef9af2a455fc4b623519819ec 100644
(file)
--- a/
fs/ocfs2/ocfs2.h
+++ b/
fs/ocfs2/ocfs2.h
@@
-473,6
+473,9
@@
static inline int ocfs2_uses_extended_slot_map(struct ocfs2_super *osb)
(____gd)->bg_signature); \
} while (0)
+#define OCFS2_IS_VALID_XATTR_BLOCK(ptr) \
+ (!strcmp((ptr)->xb_signature, OCFS2_XATTR_BLOCK_SIGNATURE))
+
static inline unsigned long ino_from_blkno(struct super_block *sb,
u64 blkno)
{
This page took
0.031099 seconds
and
5
git commands to generate.