summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorNicholas D Steeves <nsteeves@gmail.com>2016-05-19 21:18:45 -0400
committerDavid Sterba <dsterba@suse.com>2016-05-25 16:35:14 -0400
commit0132761017e012ab4dc8584d679503f2ba26ca86 (patch)
treea81760d104ee6307d79ba5cf85460afa18a3df21 /fs/btrfs/file.c
parent210aa27768bec4297a9d6ad0e5cab45935c775e9 (diff)
btrfs: fix string and comment grammatical issues and typos
Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r--fs/btrfs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 8d7b5a45c005..50dac40d9561 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -2024,7 +2024,7 @@ int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
2024 BTRFS_I(inode)->last_trans 2024 BTRFS_I(inode)->last_trans
2025 <= root->fs_info->last_trans_committed)) { 2025 <= root->fs_info->last_trans_committed)) {
2026 /* 2026 /*
2027 * We'v had everything committed since the last time we were 2027 * We've had everything committed since the last time we were
2028 * modified so clear this flag in case it was set for whatever 2028 * modified so clear this flag in case it was set for whatever
2029 * reason, it's no longer relevant. 2029 * reason, it's no longer relevant.
2030 */ 2030 */
@@ -2372,7 +2372,7 @@ static int btrfs_punch_hole(struct inode *inode, loff_t offset, loff_t len)
2372 2372
2373 /* Check the aligned pages after the first unaligned page, 2373 /* Check the aligned pages after the first unaligned page,
2374 * if offset != orig_start, which means the first unaligned page 2374 * if offset != orig_start, which means the first unaligned page
2375 * including serveral following pages are already in holes, 2375 * including several following pages are already in holes,
2376 * the extra check can be skipped */ 2376 * the extra check can be skipped */
2377 if (offset == orig_start) { 2377 if (offset == orig_start) {
2378 /* after truncate page, check hole again */ 2378 /* after truncate page, check hole again */