diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-11-28 06:05:13 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-12-17 08:51:50 -0500 |
commit | 52042d8e82ff50d40e76a275ac0b97aa663328b0 (patch) | |
tree | 58ba6c57c648c97b824ec2618f1e6964de3ee55b /fs/btrfs/file.c | |
parent | 1690dd41e0cb1dade80850ed8a3eb0121b96d22f (diff) |
btrfs: Fix typos in comments and strings
The typos accumulate over time so once in a while time they get fixed in
a large patch.
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 81aae230d1a5..d38dc8c31533 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c | |||
@@ -2005,7 +2005,7 @@ int btrfs_release_file(struct inode *inode, struct file *filp) | |||
2005 | filp->private_data = NULL; | 2005 | filp->private_data = NULL; |
2006 | 2006 | ||
2007 | /* | 2007 | /* |
2008 | * ordered_data_close is set by settattr when we are about to truncate | 2008 | * ordered_data_close is set by setattr when we are about to truncate |
2009 | * a file from a non-zero size to a zero size. This tries to | 2009 | * a file from a non-zero size to a zero size. This tries to |
2010 | * flush down new bytes that may have been written if the | 2010 | * flush down new bytes that may have been written if the |
2011 | * application were using truncate to replace a file in place. | 2011 | * application were using truncate to replace a file in place. |
@@ -2114,7 +2114,7 @@ int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) | |||
2114 | 2114 | ||
2115 | /* | 2115 | /* |
2116 | * We have to do this here to avoid the priority inversion of waiting on | 2116 | * We have to do this here to avoid the priority inversion of waiting on |
2117 | * IO of a lower priority task while holding a transaciton open. | 2117 | * IO of a lower priority task while holding a transaction open. |
2118 | */ | 2118 | */ |
2119 | ret = btrfs_wait_ordered_range(inode, start, len); | 2119 | ret = btrfs_wait_ordered_range(inode, start, len); |
2120 | if (ret) { | 2120 | if (ret) { |
@@ -2154,7 +2154,7 @@ int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) | |||
2154 | * here we could get into a situation where we're waiting on IO to | 2154 | * here we could get into a situation where we're waiting on IO to |
2155 | * happen that is blocked on a transaction trying to commit. With start | 2155 | * happen that is blocked on a transaction trying to commit. With start |
2156 | * we inc the extwriter counter, so we wait for all extwriters to exit | 2156 | * we inc the extwriter counter, so we wait for all extwriters to exit |
2157 | * before we start blocking join'ers. This comment is to keep somebody | 2157 | * before we start blocking joiners. This comment is to keep somebody |
2158 | * from thinking they are super smart and changing this to | 2158 | * from thinking they are super smart and changing this to |
2159 | * btrfs_join_transaction *cough*Josef*cough*. | 2159 | * btrfs_join_transaction *cough*Josef*cough*. |
2160 | */ | 2160 | */ |