diff options
author | Emese Revfy <re.emese@gmail.com> | 2009-12-14 00:59:30 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2009-12-21 12:45:15 +0100 |
commit | 7d4e9d0962cd0f6a30b01e256756dd10606dab30 (patch) | |
tree | e684151b986aab62c45edf171fe138740ac9a7f0 /drivers/block/drbd/drbd_main.c | |
parent | 66ae291978177d5c012015f12b8fbc76dc7d0965 (diff) | |
download | op-kernel-dev-7d4e9d0962cd0f6a30b01e256756dd10606dab30.zip op-kernel-dev-7d4e9d0962cd0f6a30b01e256756dd10606dab30.tar.gz |
drbd: Constify struct file_operations
Signed-off-by: Emese Revfy <re.emese@gmail.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index 157d1e4..af30ca9 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c @@ -151,7 +151,7 @@ wait_queue_head_t drbd_pp_wait; DEFINE_RATELIMIT_STATE(drbd_ratelimit_state, 5 * HZ, 5); -static struct block_device_operations drbd_ops = { +static const struct block_device_operations drbd_ops = { .owner = THIS_MODULE, .open = drbd_open, .release = drbd_release, |