]> bbs.cooldavid.org Git - net-next-2.6.git/commit
dm: zero silently drop discards
authorMike Snitzer <snitzer@redhat.com>
Thu, 12 Aug 2010 03:14:12 +0000 (04:14 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 12 Aug 2010 03:14:12 +0000 (04:14 +0100)
commitf8facb61b5095488a4d78fa78116ef4f4b82bc4d
tree5ee747721c27a8ac1cb68bb05862bfdfea185d9b
parentb441a262e7d1c56fbe21794c91d7a9c83809113f
dm: zero silently drop discards

Have the zero target silently drop a discard rather than fail the
request with -EOPNOTSUPP.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-zero.c