Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
eefaf0a1
Commit
eefaf0a1
authored
Dec 05, 2023
by
David Sterba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btrfs: fix typos found by codespell
Signed-off-by:
David Sterba
<
dsterba@suse.com
>
parent
4618d0a6
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
12 deletions
+12
-12
fs/btrfs/bio.c
fs/btrfs/bio.c
+1
-1
fs/btrfs/block-group.c
fs/btrfs/block-group.c
+1
-1
fs/btrfs/extent_io.c
fs/btrfs/extent_io.c
+1
-1
fs/btrfs/lru_cache.c
fs/btrfs/lru_cache.c
+1
-1
fs/btrfs/qgroup.c
fs/btrfs/qgroup.c
+1
-1
fs/btrfs/scrub.c
fs/btrfs/scrub.c
+4
-4
fs/btrfs/tree-checker.h
fs/btrfs/tree-checker.h
+1
-1
fs/btrfs/volumes.h
fs/btrfs/volumes.h
+1
-1
fs/btrfs/zoned.h
fs/btrfs/zoned.h
+1
-1
No files found.
fs/btrfs/bio.c
View file @
eefaf0a1
...
...
@@ -626,7 +626,7 @@ static bool should_async_write(struct btrfs_bio *bbio)
/*
* Submit bio to an async queue.
*
* Return true if the work has been succes
fu
ly submitted, else false.
* Return true if the work has been succes
sful
ly submitted, else false.
*/
static
bool
btrfs_wq_submit_bio
(
struct
btrfs_bio
*
bbio
,
struct
btrfs_io_context
*
bioc
,
...
...
fs/btrfs/block-group.c
View file @
eefaf0a1
...
...
@@ -2882,7 +2882,7 @@ int btrfs_inc_block_group_ro(struct btrfs_block_group *cache,
goto
unlock_out
;
/*
* Skip chunk alloction if the bg is SYSTEM, this is to avoid system
* Skip chunk alloc
a
tion if the bg is SYSTEM, this is to avoid system
* chunk allocation storm to exhaust the system chunk array. Otherwise
* we still want to try our best to mark the block group read-only.
*/
...
...
fs/btrfs/extent_io.c
View file @
eefaf0a1
...
...
@@ -4041,7 +4041,7 @@ void read_extent_buffer(const struct extent_buffer *eb, void *dstv,
if
(
check_eb_range
(
eb
,
start
,
len
))
{
/*
* Invalid range hit, reset the memory, so callers won't get
* some random garbage for their uninitialzed memory.
* some random garbage for their uninitial
i
zed memory.
*/
memset
(
dstv
,
0
,
len
);
return
;
...
...
fs/btrfs/lru_cache.c
View file @
eefaf0a1
...
...
@@ -9,7 +9,7 @@
*
* @cache: The cache.
* @max_size: Maximum size (number of entries) for the cache.
* Use 0 for unlimited size, it's the user's respons
a
bility to
* Use 0 for unlimited size, it's the user's respons
i
bility to
* trim the cache in that case.
*/
void
btrfs_lru_cache_init
(
struct
btrfs_lru_cache
*
cache
,
unsigned
int
max_size
)
...
...
fs/btrfs/qgroup.c
View file @
eefaf0a1
...
...
@@ -194,7 +194,7 @@ static struct btrfs_qgroup *find_qgroup_rb(struct btrfs_fs_info *fs_info,
*
* Must be called with qgroup_lock held and @prealloc preallocated.
*
* The control on the lifespan of @prealloc would be transfered to this
* The control on the lifespan of @prealloc would be transfer
r
ed to this
* function, thus caller should no longer touch @prealloc.
*/
static
struct
btrfs_qgroup
*
add_qgroup_rb
(
struct
btrfs_fs_info
*
fs_info
,
...
...
fs/btrfs/scrub.c
View file @
eefaf0a1
...
...
@@ -43,7 +43,7 @@ struct scrub_ctx;
/*
* The following value only influences the performance.
*
* This detemines how many stripes would be submitted in one go,
* This dete
r
mines how many stripes would be submitted in one go,
* which is 512KiB (BTRFS_STRIPE_LEN * SCRUB_STRIPES_PER_GROUP).
*/
#define SCRUB_STRIPES_PER_GROUP 8
...
...
@@ -709,7 +709,7 @@ static void scrub_verify_one_sector(struct scrub_stripe *stripe, int sector_nr)
/* Metadata, verify the full tree block. */
if
(
sector
->
is_metadata
)
{
/*
* Check if the tree block crosses the stripe boudary. If
* Check if the tree block crosses the stripe bou
n
dary. If
* crossed the boundary, we cannot verify it but only give a
* warning.
*
...
...
@@ -883,7 +883,7 @@ static void scrub_stripe_report_errors(struct scrub_ctx *sctx,
/*
* Init needed infos for error reporting.
*
* Although our scrub_stripe infrastucture is mostly based on btrfs_submit_bio()
* Although our scrub_stripe infrast
r
ucture is mostly based on btrfs_submit_bio()
* thus no need for dev/physical, error reporting still needs dev and physical.
*/
if
(
!
bitmap_empty
(
&
stripe
->
init_error_bitmap
,
stripe
->
nr_sectors
))
{
...
...
@@ -1812,7 +1812,7 @@ static int flush_scrub_stripes(struct scrub_ctx *sctx)
if
(
sctx
->
is_dev_replace
)
{
/*
* For dev-replace, if we know there is something wrong with
* metadata, we should immedately abort.
* metadata, we should immed
i
ately abort.
*/
for
(
int
i
=
0
;
i
<
nr_stripes
;
i
++
)
{
if
(
stripe_has_metadata_error
(
&
sctx
->
stripes
[
i
]))
{
...
...
fs/btrfs/tree-checker.h
View file @
eefaf0a1
...
...
@@ -22,7 +22,7 @@ struct btrfs_tree_parent_check {
/*
* Expected transid, can be 0 to skip the check, but such skip
* should only be utlized for backref walk related code.
* should only be ut
i
lized for backref walk related code.
*/
u64
transid
;
...
...
fs/btrfs/volumes.h
View file @
eefaf0a1
...
...
@@ -613,7 +613,7 @@ static inline unsigned long btrfs_chunk_item_size(int num_stripes)
}
/*
* Do the type safe convers
t
ion from stripe_nr to offset inside the chunk.
* Do the type safe conversion from stripe_nr to offset inside the chunk.
*
* @stripe_nr is u32, with left shift it can overflow u32 for chunks larger
* than 4G. This does the proper type cast to avoid overflow.
...
...
fs/btrfs/zoned.h
View file @
eefaf0a1
...
...
@@ -319,7 +319,7 @@ static inline bool btrfs_check_device_zone_type(const struct btrfs_fs_info *fs_i
(
bdev_zone_sectors
(
bdev
)
<<
SECTOR_SHIFT
);
}
/* Do not allow Host Man
ged zoned device
*/
/* Do not allow Host Man
aged zoned device.
*/
return
bdev_zoned_model
(
bdev
)
!=
BLK_ZONED_HM
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment