diff options
author | Alex Elder <aelder@sgi.com> | 2010-04-20 17:09:59 +1000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-05-19 09:58:15 -0500 |
commit | 69ce58f08a3c455ff74cfcde90e9ab267d67f636 (patch) | |
tree | 0a5a8be3222d8138f382b492b96888c61041dd76 /fs/pnode.c | |
parent | 1414a6046ab402ac21545522270c32c576327eb9 (diff) | |
download | op-kernel-dev-69ce58f08a3c455ff74cfcde90e9ab267d67f636.zip op-kernel-dev-69ce58f08a3c455ff74cfcde90e9ab267d67f636.tar.gz |
xfs: record log sector size rather than log2(that)
Change struct log so it keeps track of the size (in basic blocks) of
a log sector in l_sectBBsize rather than the log-base-2 of that
value (previously, l_sectbb_log). The name was chosen for
consistency with the other fields in the structure that represent
a number of basic blocks.
(Updated so that a variable used in computing and verifying a log's
sector size is named "log2_size". Also added the "BB" to the
structure field name, based on feedback from Eric Sandeen. Also
dropped some superfluous parentheses.)
Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Diffstat (limited to 'fs/pnode.c')
0 files changed, 0 insertions, 0 deletions