···178178 * Elements of this type are allocated dynamically and required because179179 * each block object can refer to and can be ref from multiple blocks.180180 * The key to lookup them in the hashtable is the dev_bytenr of181181- * the block ref to plus the one from the block refered from.181181+ * the block ref to plus the one from the block referred from.182182 * The fact that they are searchable via a hashtable and that a183183 * ref_cnt is maintained is not required for the btrfs integrity184184 * check algorithm itself, it is only used to make the output more
+5-5
fs/btrfs/ctree.h
···788788789789 /*790790 * This generation number is used to test if the new fields are valid791791- * and up to date while reading the root item. Everytime the root item791791+ * and up to date while reading the root item. Every time the root item792792 * is written out, the "generation" field is copied into this field. If793793 * anyone ever mounted the fs with an older kernel, we will have794794 * mismatching generation values here and thus must invalidate the···12191219 * we've called update_block_group and dropped the bytes_used counter12201220 * and increased the bytes_pinned counter. However this means that12211221 * bytes_pinned does not reflect the bytes that will be pinned once the12221222- * delayed refs are flushed, so this counter is inc'ed everytime we call12231223- * btrfs_free_extent so it is a realtime count of what will be freed12241224- * once the transaction is committed. It will be zero'ed everytime the12251225- * transaction commits.12221222+ * delayed refs are flushed, so this counter is inc'ed every time we12231223+ * call btrfs_free_extent so it is a realtime count of what will be12241224+ * freed once the transaction is committed. It will be zero'ed every12251225+ * time the transaction commits.12261226 */12271227 struct percpu_counter total_bytes_pinned;12281228
+1-1
fs/btrfs/dev-replace.c
···858858 * not called and the the filesystem is remounted859859 * in degraded state. This does not stop the860860 * dev_replace procedure. It needs to be canceled861861- * manually if the cancelation is wanted.861861+ * manually if the cancellation is wanted.862862 */863863 break;864864 }
+1-1
fs/btrfs/disk-io.c
···816816 waitqueue_active(&fs_info->async_submit_wait))817817 wake_up(&fs_info->async_submit_wait);818818819819- /* If an error occured we just want to clean up the bio and move on */819819+ /* If an error occurred we just want to clean up the bio and move on */820820 if (async->error) {821821 async->bio->bi_error = async->error;822822 bio_endio(async->bio);
+1-1
fs/btrfs/extent-tree.c
···5758575857595759 /*57605760 * This is tricky, but first we need to figure out how much we57615761- * free'd from any free-ers that occured during this57615761+ * free'd from any free-ers that occurred during this57625762 * reservation, so we reset ->csum_bytes to the csum_bytes57635763 * before we dropped our lock, and then call the free for the57645764 * number of bytes that were freed while we were trying our
+2-2
fs/btrfs/extent_map.c
···62626363/**6464 * free_extent_map - drop reference count of an extent_map6565- * @em: extent map beeing releasead6565+ * @em: extent map being releasead6666 *6767 * Drops the reference out on @em by one and free the structure6868 * if the reference count hits zero.···422422/**423423 * remove_extent_mapping - removes an extent_map from the extent tree424424 * @tree: extent tree to remove from425425- * @em: extent map beeing removed425425+ * @em: extent map being removed426426 *427427 * Removes @em from @tree. No reference counts are dropped, and no checks428428 * are done to see if the range is in use
+1-1
fs/btrfs/file.c
···18471847 /*18481848 * We also have to set last_sub_trans to the current log transid,18491849 * otherwise subsequent syncs to a file that's been synced in this18501850- * transaction will appear to have already occured.18501850+ * transaction will appear to have already occurred.18511851 */18521852 spin_lock(&BTRFS_I(inode)->lock);18531853 BTRFS_I(inode)->last_sub_trans = root->log_transid;
+1-1
fs/btrfs/ordered-data.c
···10101010 for (; node; node = rb_prev(node)) {10111011 test = rb_entry(node, struct btrfs_ordered_extent, rb_node);1012101210131013- /* We treat this entry as if it doesnt exist */10131013+ /* We treat this entry as if it doesn't exist */10141014 if (test_bit(BTRFS_ORDERED_UPDATED_ISIZE, &test->flags))10151015 continue;10161016 if (test->file_offset + test->len <= disk_i_size)
+1-1
fs/btrfs/tree-log.c
···1046104610471047 /*10481048 * NOTE: we have searched root tree and checked the10491049- * coresponding ref, it does not need to check again.10491049+ * corresponding ref, it does not need to check again.10501050 */10511051 *search_done = 1;10521052 }
+2-2
fs/btrfs/volumes.c
···27492749 em->start + em->len < chunk_offset) {27502750 /*27512751 * This is a logic error, but we don't want to just rely on the27522752- * user having built with ASSERT enabled, so if ASSERT doens't27522752+ * user having built with ASSERT enabled, so if ASSERT doesn't27532753 * do anything we still error out.27542754 */27552755 ASSERT(0);···41194119 * Callback for btrfs_uuid_tree_iterate().41204120 * returns:41214121 * 0 check succeeded, the entry is not outdated.41224122- * < 0 if an error occured.41224122+ * < 0 if an error occurred.41234123 * > 0 if the check failed, which means the caller shall remove the entry.41244124 */41254125static int btrfs_check_uuid_tree_entry(struct btrfs_fs_info *fs_info,