diff options
author | Alex Elder <aelder@sgi.com> | 2010-04-20 17:10:21 +1000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-05-19 09:58:16 -0500 |
commit | 48389ef17583f2214bbd2c119b3015677419c16b (patch) | |
tree | ff6b8e0cf45cb4e32e77a6ae0a9fa18c845a5ca3 /fs/xfs/xfs_log_priv.h | |
parent | 69ce58f08a3c455ff74cfcde90e9ab267d67f636 (diff) | |
download | linux-stable-48389ef17583f2214bbd2c119b3015677419c16b.tar.gz linux-stable-48389ef17583f2214bbd2c119b3015677419c16b.tar.bz2 linux-stable-48389ef17583f2214bbd2c119b3015677419c16b.zip |
xfs: kill off l_sectbb_mask
There remains only one user of the l_sectbb_mask field in the log
structure. Just kill it off and compute the mask where needed from
the power-of-2 sector size.
(Only update from last post is to accomodate the changes in the
previous patch in the series.)
Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
-rw-r--r-- | fs/xfs/xfs_log_priv.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h index 56f221d7bf61..9cf695154451 100644 --- a/fs/xfs/xfs_log_priv.h +++ b/fs/xfs/xfs_log_priv.h @@ -396,9 +396,7 @@ typedef struct log { struct xfs_buf_cancel **l_buf_cancel_table; int l_iclog_hsize; /* size of iclog header */ int l_iclog_heads; /* # of iclog header sectors */ - uint l_sectBBsize; /* sector size in BBs */ - uint l_sectbb_mask; /* sector size (in BBs) - * alignment mask */ + uint l_sectBBsize; /* sector size in BBs (2^n) */ int l_iclog_size; /* size of log in bytes */ int l_iclog_size_log; /* log power size of log */ int l_iclog_bufs; /* number of iclog buffers */ |