Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
unlink.c File Reference
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/dcache.h>
#include <linux/sunrpc/sched.h>
#include <linux/sunrpc/clnt.h>
#include <linux/nfs_fs.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include <linux/namei.h>
#include "internal.h"
#include "nfs4_fs.h"
#include "iostat.h"
#include "delegation.h"

Go to the source code of this file.

Macros

#define NAME_ALLOC_LEN(len)   ((len+16) & ~15)
 

Functions

void nfs_block_sillyrename (struct dentry *dentry)
 
void nfs_unblock_sillyrename (struct dentry *dentry)
 
void nfs_complete_unlink (struct dentry *dentry, struct inode *inode)
 
int nfs_sillyrename (struct inode *dir, struct dentry *dentry)
 

Macro Definition Documentation

#define NAME_ALLOC_LEN (   len)    ((len+16) & ~15)

Definition at line 36 of file unlink.c.

Function Documentation

void nfs_block_sillyrename ( struct dentry dentry)

Definition at line 207 of file unlink.c.

void nfs_complete_unlink ( struct dentry dentry,
struct inode inode 
)

nfs_complete_unlink - Initialize completion of the sillydelete : dentry to delete : inode

Since we're most likely to be called by dentry_iput(), we only use the dentry to find the sillydelete. We then copy the name into the qstr.

Definition at line 293 of file unlink.c.

int nfs_sillyrename ( struct inode dir,
struct dentry dentry 
)

Definition at line 476 of file unlink.c.

void nfs_unblock_sillyrename ( struct dentry dentry)

Definition at line 214 of file unlink.c.