diff options
author | Malcolm Parsons <malcolm.parsons@gmail.com> | 2009-03-29 03:55:42 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@brick.lst.de> | 2009-03-29 03:55:42 -0400 |
commit | 9da096fd13e63031662566e5e868ec3dcc70824e (patch) | |
tree | 43347fa31b3a09ee2d9ef69ee61bb04838426da9 /fs/xfs/xfs_log.c | |
parent | bddaafa11a549fff311bcf2e04bbfb5139812cb7 (diff) |
xfs: fix various typos
Signed-off-by: Malcolm Parsons <malcolm.parsons@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 25faa3fe83d2..f76c6d7cea21 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -1098,7 +1098,7 @@ xlog_bdstrat_cb(struct xfs_buf *bp) | |||
1098 | /* | 1098 | /* |
1099 | * Return size of each in-core log record buffer. | 1099 | * Return size of each in-core log record buffer. |
1100 | * | 1100 | * |
1101 | * All machines get 8 x 32KB buffers by default, unless tuned otherwise. | 1101 | * All machines get 8 x 32kB buffers by default, unless tuned otherwise. |
1102 | * | 1102 | * |
1103 | * If the filesystem blocksize is too large, we may need to choose a | 1103 | * If the filesystem blocksize is too large, we may need to choose a |
1104 | * larger size since the directory code currently logs entire blocks. | 1104 | * larger size since the directory code currently logs entire blocks. |
@@ -1128,8 +1128,8 @@ xlog_get_iclog_buffer_size(xfs_mount_t *mp, | |||
1128 | } | 1128 | } |
1129 | 1129 | ||
1130 | if (xfs_sb_version_haslogv2(&mp->m_sb)) { | 1130 | if (xfs_sb_version_haslogv2(&mp->m_sb)) { |
1131 | /* # headers = size / 32K | 1131 | /* # headers = size / 32k |
1132 | * one header holds cycles from 32K of data | 1132 | * one header holds cycles from 32k of data |
1133 | */ | 1133 | */ |
1134 | 1134 | ||
1135 | xhdrs = mp->m_logbsize / XLOG_HEADER_CYCLE_SIZE; | 1135 | xhdrs = mp->m_logbsize / XLOG_HEADER_CYCLE_SIZE; |
@@ -1145,7 +1145,7 @@ xlog_get_iclog_buffer_size(xfs_mount_t *mp, | |||
1145 | goto done; | 1145 | goto done; |
1146 | } | 1146 | } |
1147 | 1147 | ||
1148 | /* All machines use 32KB buffers by default. */ | 1148 | /* All machines use 32kB buffers by default. */ |
1149 | log->l_iclog_size = XLOG_BIG_RECORD_BSIZE; | 1149 | log->l_iclog_size = XLOG_BIG_RECORD_BSIZE; |
1150 | log->l_iclog_size_log = XLOG_BIG_RECORD_BSHIFT; | 1150 | log->l_iclog_size_log = XLOG_BIG_RECORD_BSHIFT; |
1151 | 1151 | ||
@@ -3179,7 +3179,7 @@ xlog_state_want_sync(xlog_t *log, xlog_in_core_t *iclog) | |||
3179 | */ | 3179 | */ |
3180 | 3180 | ||
3181 | /* | 3181 | /* |
3182 | * Free a used ticket when it's refcount falls to zero. | 3182 | * Free a used ticket when its refcount falls to zero. |
3183 | */ | 3183 | */ |
3184 | void | 3184 | void |
3185 | xfs_log_ticket_put( | 3185 | xfs_log_ticket_put( |