bcachefs: fix typo in the comment
PATCH 1/1 bcachefs: fix typo in the comment
Correctly spelled comments make it easier for the reader to understand the code.
Replace 'sentinal' with 'sentinel' in the comment & replace 'sychronizing' with 'synchronizing' in the comment.
Signed-off-by Yan Zhen <[email protected]>
--- fs/bcachefs/alloc_foreground.c | 2 +- fs/bcachefs/rebalance.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
fs/bcachefs/alloc_foreground.c +1 -1
@@ -1552,7 +1552,7 @@ void bch2_fs_allocator_foreground_init(struct bch_fs *c)mutex_init (&c->write_points_hash_lock); c->write_points_nr =ARRAY_SIZE (c->write_points); -/* open bucket 0 is a sentinal NULL: */ +/* open bucket 0 is a sentinel NULL: */ spin_lock_init (&c->open_buckets[0 ].lock); for (ob = c->open_buckets + 1;
fs/bcachefs/rebalance.c +1 -1
@@ -451,7 +451,7 @@ void bch2_rebalance_stop(struct bch_fs *c) c->rebalance.thread =NULL ;if (p) { -/* for sychronizing with rebalance_wakeup() */ +/* for synchronizing with rebalance_wakeup() */ synchronize_rcu ();kthread_stop (p);
Signature · 1 line
2.34.1