diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2014-11-10 17:21:10 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-11-10 09:27:33 -0700 |
commit | f221f4bcc5f40e2967e4596ef167bdbc987c8e9d (patch) | |
tree | f84f73ca4d3d4b3b4e1139107808078fff311fde /drivers/block/drbd/drbd_nl.c | |
parent | 179e20b8df97e0c7541a1bae30cad53ecc7a5e86 (diff) |
drbd: Only use drbd_msg_put_info() in drbd_nl.c
Avoid generic netlink calls in other parts of the code base.
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>
Diffstat (limited to 'drivers/block/drbd/drbd_nl.c')
-rw-r--r-- | drivers/block/drbd/drbd_nl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c index c145619f1ccb..4782d074c8cd 100644 --- a/drivers/block/drbd/drbd_nl.c +++ b/drivers/block/drbd/drbd_nl.c @@ -92,7 +92,7 @@ static void drbd_adm_send_reply(struct sk_buff *skb, struct genl_info *info) /* Used on a fresh "drbd_adm_prepare"d reply_skb, this cannot fail: The only * reason it could fail was no space in skb, and there are 4k available. */ -int drbd_msg_put_info(struct sk_buff *skb, const char *info) +static int drbd_msg_put_info(struct sk_buff *skb, const char *info) { struct nlattr *nla; int err = -EMSGSIZE; |