summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorAlex Elder <aelder@sgi.com>2010-04-20 17:10:21 +1000
committerAlex Elder <aelder@sgi.com>2010-05-19 09:58:16 -0500
commit48389ef17583f2214bbd2c119b3015677419c16b (patch)
treeff6b8e0cf45cb4e32e77a6ae0a9fa18c845a5ca3 /fs/xfs/xfs_log.c
parent69ce58f08a3c455ff74cfcde90e9ab267d67f636 (diff)
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.c')
-rw-r--r--fs/xfs/xfs_log.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 36e09e362f7f..3038dd52c72a 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -1089,7 +1089,6 @@ xlog_alloc_log(xfs_mount_t *mp,
}
}
log->l_sectBBsize = 1 << log2_size;
- log->l_sectbb_mask = log->l_sectBBsize - 1;
xlog_get_iclog_buffer_size(mp, log);