|
@@ -55,12 +55,10 @@
|
|
|
# define __protected_by(x) __attribute__((require_context(x,1,999,"rdwr")))
|
|
|
# define __protected_read_by(x) __attribute__((require_context(x,1,999,"read")))
|
|
|
# define __protected_write_by(x) __attribute__((require_context(x,1,999,"write")))
|
|
|
-# define __must_hold(x) __attribute__((context(x,1,1), require_context(x,1,999,"call")))
|
|
|
#else
|
|
|
# define __protected_by(x)
|
|
|
# define __protected_read_by(x)
|
|
|
# define __protected_write_by(x)
|
|
|
-# define __must_hold(x)
|
|
|
#endif
|
|
|
|
|
|
/* shared module parameters, defined in drbd_main.c */
|