btrfs-progs/cmds
Oliver Freyermuth 8e11c07269 btrfs-progs: handle case if fsid not in sysfs in device_is_seed
For older kernels, the sysfs interface providing the fsid may not be present yet.
Since 32c2e57c65 ("btrfs-progs: read fsid from the sysfs in
device_is_seed"), the fallback to the previous approach to determine
the fsid was not used anymore.

Ensure negative return values of sysfs_open_fsid_file are handled by
falling back to the dev_to_fsid in this case.

Pull-request: #599
Signed-off-by: David Sterba <dsterba@suse.com>
2023-03-17 18:15:39 +01:00
..
balance.c btrfs-progs: balance: warn when deprecated syntax is used 2023-03-16 16:46:38 +01:00
commands.h btrfs-progs: add new group reflink and command 2022-12-07 01:43:30 +01:00
device.c btrfs-progs: dev stats: fix printing wrong values in tabular output 2023-03-07 21:09:03 +01:00
filesystem-du.c btrfs-progs: filesystem: convert help text to option formatter 2023-02-28 20:11:23 +01:00
filesystem-usage.c btrfs-progs: handle case if fsid not in sysfs in device_is_seed 2023-03-17 18:15:39 +01:00
filesystem-usage.h btrfs-progs: fi usage: unify naming of device and chunk info variables 2022-10-11 09:08:08 +02:00
filesystem.c btrfs-progs: filesystem: convert help text to option formatter 2023-02-28 20:11:23 +01:00
inspect-dump-super.c btrfs-progs: inspect-internal: convert help text to option formatter 2023-02-28 20:11:24 +01:00
inspect-dump-tree.c btrfs-progs: inspect-internal: convert help text to option formatter 2023-02-28 20:11:24 +01:00
inspect-tree-stats.c btrfs-progs: inspect-internal: convert help text to option formatter 2023-02-28 20:11:24 +01:00
inspect.c btrfs-progs: inspect-internal: convert help text to option formatter 2023-02-28 20:11:24 +01:00
property.c btrfs-progs: property: convert help text to option formatter 2023-02-28 20:11:24 +01:00
props.h btrfs-progs: prop set: add force parameter 2021-10-07 18:40:24 +02:00
qgroup.c btrfs-progs: qgroup show: fix formatting of qgroupid on json output 2023-03-16 15:48:41 +01:00
qgroup.h Revert "btrfs-progs: rename qgroup items to match the kernel naming scheme" 2023-01-03 13:10:54 +01:00
quota.c btrfs-progs: quota: convert help text to option formatter 2023-02-28 20:11:24 +01:00
receive-dump.c btrfs-progs: receive: add support for fs-verity 2022-10-11 09:08:08 +02:00
receive-dump.h btrfs-progs: cmds: update include lists 2022-10-11 09:07:59 +02:00
receive.c btrfs-progs: receive: convert help text to option formatter 2023-02-28 20:11:24 +01:00
reflink.c btrfs-progs: reflink: convert help text to option formatter 2023-02-28 20:11:24 +01:00
replace.c btrfs-progs: replace: convert help text to option formatter 2023-02-28 20:11:24 +01:00
rescue-chunk-recover.c btrfs-progs: don't use btrfs_header_csum helper 2022-11-30 19:14:29 +01:00
rescue-super-recover.c btrfs-progs: cmds: update include lists 2022-10-11 09:07:59 +02:00
rescue.c btrfs-progs: rescue: convert help text to option formatter 2023-02-28 20:11:24 +01:00
rescue.h btrfs-progs: unify GPL header comments 2021-09-07 13:58:44 +02:00
restore.c btrfs-progs: restore: don't modify metadata in dry-run mode 2023-03-16 16:31:27 +01:00
scrub.c btrfs-progs: scrub: convert help text to option formatter 2023-02-28 20:11:24 +01:00
send.c btrfs-progs: send: convert help text to option formatter 2023-02-28 20:11:24 +01:00
subvolume-list.c btrfs-progs: subvolume: convert help text to option formatter 2023-02-28 20:11:24 +01:00
subvolume.c btrfs-progs: subvolume: convert help text to option formatter 2023-02-28 20:11:24 +01:00