Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
namei.c File Reference
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/highmem.h>
#include <linux/quotaops.h>
#include <cluster/masklog.h>
#include "ocfs2.h"
#include "alloc.h"
#include "dcache.h"
#include "dir.h"
#include "dlmglue.h"
#include "extent_map.h"
#include "file.h"
#include "inode.h"
#include "journal.h"
#include "namei.h"
#include "suballoc.h"
#include "super.h"
#include "symlink.h"
#include "sysfile.h"
#include "uptodate.h"
#include "xattr.h"
#include "acl.h"
#include "ocfs2_trace.h"
#include "buffer_head_io.h"

Go to the source code of this file.

Macros

#define OCFS2_ORPHAN_NAMELEN   ((int)(2 * sizeof(u64)))
 

Functions

int ocfs2_orphan_del (struct ocfs2_super *osb, handle_t *handle, struct inode *orphan_dir_inode, struct inode *inode, struct buffer_head *orphan_dir_bh)
 
int ocfs2_create_inode_in_orphan (struct inode *dir, int mode, struct inode **new_inode)
 
int ocfs2_mv_orphaned_inode_to_new (struct inode *dir, struct inode *inode, struct dentry *dentry)
 

Variables

struct inode_operations ocfs2_dir_iops
 

Macro Definition Documentation

#define OCFS2_ORPHAN_NAMELEN   ((int)(2 * sizeof(u64)))

Definition at line 98 of file namei.c.

Function Documentation

int ocfs2_create_inode_in_orphan ( struct inode dir,
int  mode,
struct inode **  new_inode 
)

Definition at line 2222 of file namei.c.

int ocfs2_mv_orphaned_inode_to_new ( struct inode dir,
struct inode inode,
struct dentry dentry 
)

Definition at line 2342 of file namei.c.

int ocfs2_orphan_del ( struct ocfs2_super osb,
handle_t *  handle,
struct inode orphan_dir_inode,
struct inode inode,
struct buffer_head *  orphan_dir_bh 
)

Definition at line 2069 of file namei.c.

Variable Documentation

struct inode_operations ocfs2_dir_iops
Initial value:
= {
.create = ocfs2_create,
.lookup = ocfs2_lookup,
.link = ocfs2_link,
.unlink = ocfs2_unlink,
.rmdir = ocfs2_unlink,
.symlink = ocfs2_symlink,
.mkdir = ocfs2_mkdir,
.mknod = ocfs2_mknod,
.rename = ocfs2_rename,
.setattr = ocfs2_setattr,
.getattr = ocfs2_getattr,
.permission = ocfs2_permission,
.setxattr = generic_setxattr,
.getxattr = generic_getxattr,
.listxattr = ocfs2_listxattr,
.removexattr = generic_removexattr,
.fiemap = ocfs2_fiemap,
.get_acl = ocfs2_iop_get_acl,
}

Definition at line 2482 of file namei.c.