Skip to contentSkip to conversation

some fix for the comment in btrfs patch please

DISCUSSION Anand Jain 2 participants 2 messages Jan 25, 2022 1 message not in the archive Btrfs file system

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Anand Jain

author
#1 lore raw

Thanks, Wang, for the report.

David,

Could you please help fix the typo in the comments for the function btrfs_free_stale_devices(). The bellow diff can be rolled into the
commit a67b5c57cda9 (btrfs: match stale devices by dev_t)
in misc-next.

---------------------
fixup! btrfs: match stale devices by dev_t

fs/btrfs/volumes.c +0 -0
index e3cdb4f5ae37..8d42037d2ba7 100644
@@ -540,8 +540,8 @@ btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder,
  *
  *  @devt:     Optional. When provided will it release all unmounted 

devices
* matching this devt only.
- * @skip_dev: Optional. Will skip this device when searching for the stale
- * devices.
+ * @skip_device: Optional. Will skip this device when searching for the stale
+ * devices.
*
* Return: 0 for success or if @devt is 0.
* -EBUSY if @devt is a mounted device.
---------------------

Thanks, Anand

Quoted 15 lines · Wang Yugui

Hi,

some fix for the comment in btrfs patch please.

From: Anand Jain <[email protected]>
Date: Wed, 12 Jan 2022 13:06:00 +0800
Subject: [PATCH] btrfs: match stale devices by dev_t

@skip_dev -> @skip_device

this patch is still in misc-next.

Best Regards
Wang Yugui ([email protected])
2022/01/25

#2 lore raw
Quoted 9 lines · Anand Jain

Thanks, Wang, for the report.

David,

Could you please help fix the typo in the comments for the function btrfs_free_stale_devices(). The bellow diff can be rolled into the
commit a67b5c57cda9 (btrfs: match stale devices by dev_t)
in misc-next.

Patch updated, thanks.