summaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_int.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-11 17:46:11 +0300
committerChristoph Hellwig <hch@lst.de>2018-05-16 08:24:30 +0300
commit004fd11db1d6186ef04c6af688c572deb3b12369 (patch)
treeba74dfb9287a0b6c4fa44ae6a2e95070946913e5 /drivers/block/drbd/drbd_int.h
parent4e292a9667558e5c2038a15c0eeb5d73bc1bd3c2 (diff)
downloadlinux-004fd11db1d6186ef04c6af688c572deb3b12369.tar.xz
drbd: switch to proc_create_single
And stop messing with try_module_get on THIS_MODULE, which doesn't make any sense here. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r--drivers/block/drbd/drbd_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index 06ecee1b528e..461ddec04e7c 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -1643,7 +1643,7 @@ void drbd_bump_write_ordering(struct drbd_resource *resource, struct drbd_backin
/* drbd_proc.c */
extern struct proc_dir_entry *drbd_proc;
-extern const struct file_operations drbd_proc_fops;
+int drbd_seq_show(struct seq_file *seq, void *v);
/* drbd_actlog.c */
extern bool drbd_al_begin_io_prepare(struct drbd_device *device, struct drbd_interval *i);