From: David Sterba Date: Fri, 22 Jun 2012 12:30:39 +0000 (-0600) Subject: btrfs: join DEV_STATS ioctls to one X-Git-Tag: v3.6-rc1~81^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b27f7c0c150f74564b5d4c6c24a03c5226bf6327;p=pandora-kernel.git btrfs: join DEV_STATS ioctls to one 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 Signed-off-by: David Sterba --- Reading git-diff-tree failed