Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
xfs_acl.c File Reference
#include "xfs.h"
#include "xfs_acl.h"
#include "xfs_attr.h"
#include "xfs_bmap_btree.h"
#include "xfs_inode.h"
#include "xfs_vnodeops.h"
#include "xfs_trace.h"
#include <linux/slab.h>
#include <linux/xattr.h>
#include <linux/posix_acl_xattr.h>

Go to the source code of this file.

Functions

STATIC struct posix_aclxfs_acl_from_disk (struct xfs_acl *aclp)
 
STATIC void xfs_acl_to_disk (struct xfs_acl *aclp, const struct posix_acl *acl)
 
struct posix_aclxfs_get_acl (struct inode *inode, int type)
 
STATIC int xfs_set_acl (struct inode *inode, int type, struct posix_acl *acl)
 
int posix_acl_access_exists (struct inode *inode)
 
int posix_acl_default_exists (struct inode *inode)
 
int xfs_inherit_acl (struct inode *inode, struct posix_acl *acl)
 
int xfs_acl_chmod (struct inode *inode)
 

Variables

struct xattr_handler xfs_xattr_acl_access_handler
 
struct xattr_handler xfs_xattr_acl_default_handler
 

Function Documentation

int posix_acl_access_exists ( struct inode inode)

Definition at line 253 of file xfs_acl.c.

int posix_acl_default_exists ( struct inode inode)

Definition at line 259 of file xfs_acl.c.

int xfs_acl_chmod ( struct inode inode)

Definition at line 306 of file xfs_acl.c.

STATIC struct posix_acl* xfs_acl_from_disk ( struct xfs_acl aclp)
read

Definition at line 37 of file xfs_acl.c.

STATIC void xfs_acl_to_disk ( struct xfs_acl aclp,
const struct posix_acl acl 
)

Definition at line 88 of file xfs_acl.c.

struct posix_acl* xfs_get_acl ( struct inode inode,
int  type 
)
read

Definition at line 106 of file xfs_acl.c.

int xfs_inherit_acl ( struct inode inode,
struct posix_acl acl 
)

Definition at line 270 of file xfs_acl.c.

STATIC int xfs_set_acl ( struct inode inode,
int  type,
struct posix_acl acl 
)

Definition at line 168 of file xfs_acl.c.

Variable Documentation

struct xattr_handler xfs_xattr_acl_access_handler
Initial value:
= {
.flags = ACL_TYPE_ACCESS,
.get = xfs_xattr_acl_get,
.set = xfs_xattr_acl_set,
}

Definition at line 410 of file xfs_acl.c.

struct xattr_handler xfs_xattr_acl_default_handler
Initial value:
= {
.flags = ACL_TYPE_DEFAULT,
.get = xfs_xattr_acl_get,
.set = xfs_xattr_acl_set,
}

Definition at line 417 of file xfs_acl.c.