Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
netlink.c File Reference
#include <linux/cred.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/quotaops.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <net/netlink.h>
#include <net/genetlink.h>

Go to the source code of this file.

Functions

void quota_send_warning (struct kqid qid, dev_t dev, const char warntype)
 
 EXPORT_SYMBOL (quota_send_warning)
 
 module_init (quota_init)
 

Function Documentation

EXPORT_SYMBOL ( quota_send_warning  )
module_init ( quota_init  )
void quota_send_warning ( struct kqid  qid,
dev_t  dev,
const char  warntype 
)

quota_send_warning - Send warning to userspace about exceeded quota : The quota type: USRQQUOTA, GRPQUOTA,... : The user or group id of the quota that was exceeded : The device on which the fs is mounted (sb->s_dev) : The type of the warning: QUOTA_NL_...

This can be used by filesystems (including those which don't use dquot) to send a message to userspace relating to quota limits.

Definition at line 33 of file netlink.c.