android_kernel_oneplus_msm8998/drivers/block/drbd
Lars Ellenberg ee6b88767e drbd: avoid redefinition of BITS_PER_PAGE
commit 2630628b2dbc3fc320aafaf84836119e4e3d62f1 upstream.

Apparently we now implicitly get definitions for BITS_PER_PAGE and
BITS_PER_PAGE_MASK from the pid_namespace.h

Instead of renaming our defines, I chose to define only if not yet
defined, but to double check the value if already defined.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-08 07:46:01 +02:00
..
drbd_actlog.c block: add a bi_error field to struct bio 2015-07-29 08:55:15 -06:00
drbd_bitmap.c drbd: avoid redefinition of BITS_PER_PAGE 2017-05-08 07:46:01 +02:00
drbd_debugfs.c make simple_positive() public 2015-06-23 18:02:01 -04:00
drbd_debugfs.h drbd: debugfs: add basic hierarchy 2014-07-10 18:35:16 +02:00
drbd_int.h block: change ->make_request_fn() and users to return a queue cookie 2015-11-07 10:40:46 -07:00
drbd_interval.c drbd: use RB_DECLARE_CALLBACKS() to define augment callbacks 2014-09-18 09:00:17 -06:00
drbd_interval.h drbd: application writes may set-in-sync in protocol != C 2014-07-10 18:35:02 +02:00
drbd_main.c drbd: Fix kernel_sendmsg() usage - potential NULL deref 2016-11-18 10:48:35 +01:00
drbd_nl.c block: have drivers use blk_queue_max_discard_sectors() 2015-07-17 08:41:53 -06:00
drbd_nla.c
drbd_nla.h
drbd_proc.c drbd: Add missing newline in resync progress display in /proc/drbd 2014-09-11 08:41:29 -06:00
drbd_protocol.h
drbd_receiver.c mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd 2015-11-06 17:50:42 -08:00
drbd_req.c block: change ->make_request_fn() and users to return a queue cookie 2015-11-07 10:40:46 -07:00
drbd_req.h
drbd_state.c drbd: fix resync throttling initialization 2014-11-10 09:27:37 -07:00
drbd_state.h drbd: fix race between role change and handshake 2014-11-10 09:27:35 -07:00
drbd_strings.c
drbd_strings.h
drbd_vli.h
drbd_worker.c block: add a bi_error field to struct bio 2015-07-29 08:55:15 -06:00
Kconfig
Makefile drbd: debugfs: add basic hierarchy 2014-07-10 18:35:16 +02:00