genetlink: pass family to functions using groups
This doesn't really change anything, but prepares for the next patch that will change the APIs to pass the group ID within the family, rather than the global group ID. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
62b68e99fa
commit
68eb55031d
@@ -88,7 +88,7 @@ void quota_send_warning(struct kqid qid, dev_t dev,
|
||||
goto attr_err_out;
|
||||
genlmsg_end(skb, msg_head);
|
||||
|
||||
genlmsg_multicast(skb, 0, quota_mcgrp.id, GFP_NOFS);
|
||||
genlmsg_multicast("a_genl_family, skb, 0, quota_mcgrp.id, GFP_NOFS);
|
||||
return;
|
||||
attr_err_out:
|
||||
printk(KERN_ERR "VFS: Not enough space to compose quota message!\n");
|
||||
|
Reference in New Issue
Block a user