Consolidate min_not_zero
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 10 Sep 2010 18:07:38 +0000 (20:07 +0200)
committerJens Axboe <axboe@carl.home.kernel.dk>
Fri, 10 Sep 2010 18:07:38 +0000 (20:07 +0200)
commitc8bf1336824ebd698d37b71763e1c43190f2229a
tree19948b3c686ba71bb2e85883a5325cec069015b7
parent76be97c1fc945db08aae1f1b746012662d643e97
Consolidate min_not_zero

We have several users of min_not_zero, each of them using their own
definition.  Move the define to kernel.h.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
block/blk-settings.c
drivers/block/drbd/drbd_receiver.c
drivers/md/dm-snap.c
drivers/md/dm-table.c
include/linux/kernel.h