OSDN Git Service

drbd: Do not redefine __must_hold()
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 25 Jun 2018 22:51:00 +0000 (15:51 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:52 +0000 (09:07 -0600)
commitd05d199883b09cd34937ebb045adbed9098e9780
tree37b94c9eba28e58fa8a214f6f06c941d603d5466
parent1311326cf4755c7ffefd20f576144ecf46d9906b
drbd: Do not redefine __must_hold()

Since __must_hold() is defined in <linux/compiler_types.h>, do not
redefine it in DRBD. Compile-tested only.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Philipp Reisner <philipp.reisner@linbit.com>
Cc: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_int.h