summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorHuang Chong <huang.chong@zte.com.cn>2018-08-03 17:17:54 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2018-08-03 17:17:54 +0200
commita0e336ba3e3d1c7ec0f738a2e2e203434c00b08e (patch)
treee8a1b5538fe4cdbefdb58fb5a7903627ef0dfdeb /fs/xfs/xfs_log.c
parentxfs: only validate summary counts on primary superblock (diff)
downloadlinux-a0e336ba3e3d1c7ec0f738a2e2e203434c00b08e.tar.xz
linux-a0e336ba3e3d1c7ec0f738a2e2e203434c00b08e.zip
xfs: fix a comment in xfs_log_reserve
Fix the comment in xfs_log_reserve to avoid confusing. Signed-of-by: Huang Chong <huang.chong@zte.com.cn> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r--fs/xfs/xfs_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 00df4f39093a..c3b610b687d1 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -410,7 +410,7 @@ out_error:
}
/*
- * Reserve log space and return a ticket corresponding the reservation.
+ * Reserve log space and return a ticket corresponding to the reservation.
*
* Each reservation is going to reserve extra space for a log record header.
* When writes happen to the on-disk log, we don't subtract the length of the