[PATCH 5/5] Cleanup journal_tag_bytes()
Stephen Tweedie <[email protected]>
| Newsgroups | gmane.comp.file-systems.ext2.devel |
|---|---|
| Message-ID | <[email protected]> |
Cleanup journal_tag_bytes() to use the new JBD_TAG_SIZE* macros. Signed-off-by: Stephen Tweedie <[email protected]> --- fs/jbd/journal.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c index 332c0d9..21d5a13 100644 --- a/fs/jbd/journal.c +++ b/fs/jbd/journal.c @@ -1607,9 +1607,9 @@ int journal_blocks_per_page(struct inode size_t journal_tag_bytes(journal_t *journal) { if (JFS_HAS_INCOMPAT_FEATURE(journal, JFS_FEATURE_INCOMPAT_64BIT)) - return sizeof(journal_block_tag_t); + return JBD_TAG_SIZE64; else - return offsetof(journal_block_tag_t, t_blocknr_high); + return JBD_TAG_SIZE32; } /* -- 1.4.0 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642