Skip to contentSkip to conversation

bcache: Add missing parameter description to bch2_bucket_alloc_trans()

PATCH Applied Yang Li 2 participants 2 messages Nov 29, 2024

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 bcache: Add missing parameter description to bch2_bucket_alloc_trans()

The function bch2_bucket_alloc_trans() lacked a description for the nowait parameter in its documentation comment block. This patch adds the missing description to ensure all parameters are properly documented.

---
 fs/bcachefs/alloc_foreground.c | 1 +
 1 file changed, 1 insertion(+)
fs/bcachefs/alloc_foreground.c +1 -0
index 4d1ff7f1f302..2f1ea718cc33 100644
@@ -505,6 +505,7 @@ static noinline void trace_bucket_alloc2(struct bch_fs *c, struct bch_dev *ca,
  * @watermark:	how important is this allocation?
  * @data_type:	BCH_DATA_journal, btree, user...
  * @cl:		if not NULL, closure to be used to wait if buckets not available
+ * @nowait:	if true, do not wait for buckets to become available
  * @usage:	for secondarily also returning the current device usage
  *
  * Returns:	an open_bucket on success, or an ERR_PTR() on failure.
Signature · 1 line
2.32.0.3.g01195cf9f