OSDN Git Service

Documentation: filesystems: xfs: update pseudocode and typo fixes
authorZhao Mengmeng <zhaomengmeng@kylinos.cn>
Tue, 23 Aug 2022 01:36:53 +0000 (21:36 -0400)
committerJonathan Corbet <corbet@lwn.net>
Tue, 27 Sep 2022 19:21:42 +0000 (13:21 -0600)
commit021904f38baed568bc12b017386740b7a4cff1df
treef571af6e482a29a4c0480191e8db3412adb0a23e
parent78b07714c4ef4f7faeb4e7e57ed0530986ba8c88
Documentation: filesystems: xfs: update pseudocode and typo fixes

According to the implementation of xfs_trans_roll(), it calls
xfs_trans_reserve(), which reserves not only log space, but also
free disk blocks. In short, the "transaction stuff". So change
xfs_log_reserve() to xfs_trans_reserve().

Besides, fix several typo issues.

Signed-off-by: Zhao Mengmeng <zhaomengmeng@kylinos.cn>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20220823013653.203469-1-zhaomzhao@126.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/filesystems/xfs-delayed-logging-design.rst