summaryrefslogtreecommitdiff
path: root/btrfs-image.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2013-04-11 10:44:18 -0500
committerDavid Sterba <dsterba@suse.cz>2013-04-23 18:56:26 +0200
commit1997b9dc79829ee50d97a47bd4ec5ec58cc99238 (patch)
treef714c3f0a059d40e05ae4c2820e0d609c133d988 /btrfs-image.c
parentc9ef717ba30a755f44b1bfd85a3b8d14fb5444bd (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 'btrfs-image.c')
0 files changed, 0 insertions, 0 deletions