4 #include <linux/module.h>
5 #include <linux/kernel.h>
7 #include <linux/sched.h>
8 #include <linux/slab.h>
41 2 * nla_total_size(
sizeof(
u64));
46 skb = genlmsg_new(msg_size,
GFP_NOFS);
49 "VFS: Not enough memory to send quota warning.\n");
56 "VFS: Cannot store netlink header in quota warning.\n");
79 genlmsg_end(skb, msg_head);
81 genlmsg_multicast(skb, 0, quota_genl_family.
id,
GFP_NOFS);
84 printk(
KERN_ERR "VFS: Not enough space to compose quota message!\n");
90 static int __init quota_init(
void)
94 "VFS: Failed to create quota netlink interface.\n");