diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-04-11 10:44:18 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-04-23 18:56:26 +0200 |
commit | 1997b9dc79829ee50d97a47bd4ec5ec58cc99238 (patch) | |
tree | f714c3f0a059d40e05ae4c2820e0d609c133d988 /cmds-replace.c | |
parent | c9ef717ba30a755f44b1bfd85a3b8d14fb5444bd (diff) |
btrfs-progs: use clearer var names in is_ssd()
is_ssd() uses nondescript variable names; path - to what?
disk - it's a dev_t not a disk name, unlike dev, which is
a name not a dev_t!
Rename some vars to make things hopefully clearer:
wholedisk - the name of the node for the entire disk
devno - the dev_t of the device we're mkfs'ing
sysfs_path - the path in sysfs we ultimately check
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'cmds-replace.c')
0 files changed, 0 insertions, 0 deletions