diff options
author | Tao Ma <tao.ma@oracle.com> | 2009-08-17 23:19:26 -0400 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-09-22 23:09:26 -0400 |
commit | f2c870e3b12e38da6d9b5b17c4c8ae56a0ed68e4 (patch) | |
tree | 23aabcc02bc4437c975626012248a7fad3a307de /fs/ocfs2/ocfs2.h | |
parent | 93c97087a646429f4dc0d73298d64674ddd5cde8 (diff) |
ocfs2: Add ocfs2_read_refcount_block.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/ocfs2.h')
-rw-r--r-- | fs/ocfs2/ocfs2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h index d370262b3621..6688d19e4451 100644 --- a/fs/ocfs2/ocfs2.h +++ b/fs/ocfs2/ocfs2.h | |||
@@ -610,6 +610,9 @@ static inline int ocfs2_uses_extended_slot_map(struct ocfs2_super *osb) | |||
610 | #define OCFS2_IS_VALID_DX_LEAF(ptr) \ | 610 | #define OCFS2_IS_VALID_DX_LEAF(ptr) \ |
611 | (!strcmp((ptr)->dl_signature, OCFS2_DX_LEAF_SIGNATURE)) | 611 | (!strcmp((ptr)->dl_signature, OCFS2_DX_LEAF_SIGNATURE)) |
612 | 612 | ||
613 | #define OCFS2_IS_VALID_REFCOUNT_BLOCK(ptr) \ | ||
614 | (!strcmp((ptr)->rf_signature, OCFS2_REFCOUNT_BLOCK_SIGNATURE)) | ||
615 | |||
613 | static inline unsigned long ino_from_blkno(struct super_block *sb, | 616 | static inline unsigned long ino_from_blkno(struct super_block *sb, |
614 | u64 blkno) | 617 | u64 blkno) |
615 | { | 618 | { |