Btrfs-progs: add btrfsck name detection to btrfs
authorIlya Dryomov <idryomov@gmail.com>
Tue, 12 Feb 2013 19:24:50 +0000 (21:24 +0200)
committerDavid Sterba <dsterba@suse.cz>
Tue, 12 Feb 2013 21:55:28 +0000 (22:55 +0100)
commitd5d2046ae3b216af22a8a37c940f2412ba519b6e
treeff5f4fba089308f7dcbc9539997784a17ebf23a7
parent2f4e4e448fb34773728c0e2ef93be8d456a039cb
Btrfs-progs: add btrfsck name detection to btrfs

This patch adds a busybox-style name detection for the name "btrfsck" to
btrfs utility.  The idea is to maintain backwards compatibility by
linking btrfsck to btrfs and have btrfs invoke the check sub-command
when called through the btrfsck link.  This has been suggested on the
mailing list and approved by Dave and Chris.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
btrfs.c