aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2011-11-28 23:31:00 -0500
committerJiri Kosina <jkosina@suse.cz>2011-12-02 08:57:31 -0500
commit42b2aa86c6670347a2a07e6d7af0e0ecc8fdbff9 (patch)
tree6f8fb2a1efb3e84bf281658befe06dc6a7fb026b /fs/xfs
parenta13b032776379fa6e2bfccf798969ca51e5fb052 (diff)
treewide: Fix typos in various parts of the kernel, and fix some comments.
The below patch fixes some typos in various parts of the kernel, as well as fixes some comments. Please let me know if I missed anything, and I will try to get it changed and resent. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_file.c6
-rw-r--r--fs/xfs/xfs_log_cil.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
index 753ed9b5c70b..f675f3d9d7b3 100644
--- a/fs/xfs/xfs_file.c
+++ b/fs/xfs/xfs_file.c
@@ -209,10 +209,10 @@ xfs_file_fsync(
209 209
210 /* 210 /*
211 * First check if the VFS inode is marked dirty. All the dirtying 211 * First check if the VFS inode is marked dirty. All the dirtying
212 * of non-transactional updates no goes through mark_inode_dirty*, 212 * of non-transactional updates do not go through mark_inode_dirty*,
213 * which allows us to distinguish beteeen pure timestamp updates 213 * which allows us to distinguish between pure timestamp updates
214 * and i_size updates which need to be caught for fdatasync. 214 * and i_size updates which need to be caught for fdatasync.
215 * After that also theck for the dirty state in the XFS inode, which 215 * After that also check for the dirty state in the XFS inode, which
216 * might gets cleared when the inode gets written out via the AIL 216 * might gets cleared when the inode gets written out via the AIL
217 * or xfs_iflush_cluster. 217 * or xfs_iflush_cluster.
218 */ 218 */
diff --git a/fs/xfs/xfs_log_cil.c b/fs/xfs/xfs_log_cil.c
index c7755d5a5fbe..3ba29b114323 100644
--- a/fs/xfs/xfs_log_cil.c
+++ b/fs/xfs/xfs_log_cil.c
@@ -256,7 +256,7 @@ xfs_cil_prepare_item(
256 * Insert the log items into the CIL and calculate the difference in space 256 * Insert the log items into the CIL and calculate the difference in space
257 * consumed by the item. Add the space to the checkpoint ticket and calculate 257 * consumed by the item. Add the space to the checkpoint ticket and calculate
258 * if the change requires additional log metadata. If it does, take that space 258 * if the change requires additional log metadata. If it does, take that space
259 * as well. Remove the amount of space we addded to the checkpoint ticket from 259 * as well. Remove the amount of space we added to the checkpoint ticket from
260 * the current transaction ticket so that the accounting works out correctly. 260 * the current transaction ticket so that the accounting works out correctly.
261 */ 261 */
262static void 262static void