Re: [PATCH 5/5] Cleanup journal_tag_bytes()

Badari Pulavarty <[email protected]>
Newsgroups gmane.comp.file-systems.ext2.devel
Message-ID <[email protected]>
On Tue, 2006-06-27 at 17:01 +0100, Stephen Tweedie wrote:
> 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;
>  }
>  
>  /*

Ack.

Thanks,
Badari


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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.