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/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <cluster/masklog.h>
#include "ocfs2.h"
#include "alloc.h"
#include "dlmglue.h"
#include "file.h"
#include "inode.h"
#include "journal.h"
#include "ocfs2_fs.h"
#include "xattr.h"
#include "acl.h"

Go to the source code of this file.

Functions

struct posix_aclocfs2_iop_get_acl (struct inode *inode, int type)
 
int ocfs2_acl_chmod (struct inode *inode)
 
int ocfs2_init_acl (handle_t *handle, struct inode *inode, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dir_bh, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac)
 

Variables

struct xattr_handler ocfs2_xattr_acl_access_handler
 
struct xattr_handler ocfs2_xattr_acl_default_handler
 

Function Documentation

int ocfs2_acl_chmod ( struct inode inode)

Definition at line 315 of file acl.c.

int ocfs2_init_acl ( handle_t *  handle,
struct inode inode,
struct inode dir,
struct buffer_head *  di_bh,
struct buffer_head *  dir_bh,
struct ocfs2_alloc_context meta_ac,
struct ocfs2_alloc_context data_ac 
)

Definition at line 343 of file acl.c.

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

Definition at line 293 of file acl.c.

Variable Documentation

struct xattr_handler ocfs2_xattr_acl_access_handler
Initial value:
= {
.flags = ACL_TYPE_ACCESS,
.list = ocfs2_xattr_list_acl_access,
.get = ocfs2_xattr_get_acl,
.set = ocfs2_xattr_set_acl,
}

Definition at line 496 of file acl.c.

struct xattr_handler ocfs2_xattr_acl_default_handler
Initial value:
= {
.flags = ACL_TYPE_DEFAULT,
.list = ocfs2_xattr_list_acl_default,
.get = ocfs2_xattr_get_acl,
.set = ocfs2_xattr_set_acl,
}

Definition at line 504 of file acl.c.