Fix a typo in ZIL write handling comment

The following comment in zil.h

 * WR_COPIED:
 *    If we know we'll immediately be committing the
 *    transaction (FSYNC or FDSYNC), then we allocate a larger
 *    log record here for the data and copy the data in.

The word "the" should be "then".

Signed-off-by: luozhengzheng <luo.zhengzheng@zte.com.cn>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4961
This commit is contained in:
luozhengzheng 2016-08-12 17:41:28 +08:00 committed by Brian Behlendorf
parent a3600a106d
commit 834f1e426c

View File

@ -361,7 +361,7 @@ typedef struct {
* - the write occupies only one block * - the write occupies only one block
* WR_COPIED: * WR_COPIED:
* If we know we'll immediately be committing the * If we know we'll immediately be committing the
* transaction (FSYNC or FDSYNC), the we allocate a larger * transaction (FSYNC or FDSYNC), then we allocate a larger
* log record here for the data and copy the data in. * log record here for the data and copy the data in.
* WR_NEED_COPY: * WR_NEED_COPY:
* Otherwise we don't allocate a buffer, and *if* we need to * Otherwise we don't allocate a buffer, and *if* we need to