btrfs: join DEV_STATS ioctls to one
authorDavid Sterba <dsterba@suse.cz>
Fri, 22 Jun 2012 12:30:39 +0000 (06:30 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 23 Jul 2012 19:41:40 +0000 (15:41 -0400)
Commit c11d2c236cc260b36 (Btrfs: add ioctl to get and reset the device
stats) introduced two ioctls doing almost the same thing distinguished
by just the ioctl number which encodes "do reset after read". I have
suggested

http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg16604.html

to implement it via the ioctl args. This hasn't happen, and I think we
should use a more clean way to pass flags and should not waste ioctl
numbers.

CC: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: David Sterba <dsterba@suse.cz>

No differences found