btrfs-progs: use clearer var names in is_ssd()
authorEric Sandeen <sandeen@redhat.com>
Thu, 11 Apr 2013 15:44:18 +0000 (10:44 -0500)
committerDavid Sterba <dsterba@suse.cz>
Tue, 23 Apr 2013 16:56:26 +0000 (18:56 +0200)
commit1997b9dc79829ee50d97a47bd4ec5ec58cc99238
treef714c3f0a059d40e05ae4c2820e0d609c133d988
parentc9ef717ba30a755f44b1bfd85a3b8d14fb5444bd
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>
mkfs.c