Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
acl.c File Reference
#include <linux/fs.h>
#include <linux/string.h>
#include <linux/xattr.h>
#include <linux/posix_acl_xattr.h>
#include <linux/posix_acl.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include "ctree.h"
#include "btrfs_inode.h"
#include "xattr.h"

Go to the source code of this file.


struct posix_aclbtrfs_get_acl (struct inode *inode, int type)
int btrfs_init_acl (struct btrfs_trans_handle *trans, struct inode *inode, struct inode *dir)
int btrfs_acl_chmod (struct inode *inode)


struct xattr_handler btrfs_xattr_acl_default_handler
struct xattr_handler btrfs_xattr_acl_access_handler

Function Documentation

int btrfs_acl_chmod ( struct inode inode)

Definition at line 242 of file acl.c.

struct posix_acl* btrfs_get_acl ( struct inode inode,
int  type 

Definition at line 31 of file acl.c.

int btrfs_init_acl ( struct btrfs_trans_handle trans,
struct inode inode,
struct inode dir 

Definition at line 195 of file acl.c.

Variable Documentation

struct xattr_handler btrfs_xattr_acl_access_handler
Initial value:
= {
.get = btrfs_xattr_acl_get,
.set = btrfs_xattr_acl_set,

Definition at line 272 of file acl.c.

struct xattr_handler btrfs_xattr_acl_default_handler
Initial value:
= {
.get = btrfs_xattr_acl_get,
.set = btrfs_xattr_acl_set,

Definition at line 265 of file acl.c.