From 834f1e426caf4e752d2411be6f1c6138f479c96d Mon Sep 17 00:00:00 2001 From: luozhengzheng Date: Fri, 12 Aug 2016 17:41:28 +0800 Subject: [PATCH] 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 Signed-off-by: Brian Behlendorf Closes #4961 --- include/sys/zil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/zil.h b/include/sys/zil.h index 1f04d1833..ed0810aa1 100644 --- a/include/sys/zil.h +++ b/include/sys/zil.h @@ -361,7 +361,7 @@ typedef struct { * - the write occupies only one block * WR_COPIED: * 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. * WR_NEED_COPY: * Otherwise we don't allocate a buffer, and *if* we need to