44
44
struct dentry *au_whtmp_lkup(struct dentry *h_parent, struct qstr *prefix,
45
45
struct au_ndx *ndx);
46
int au_whtmp_ren(struct inode *dir, struct dentry *dentry, aufs_bindex_t bindex,
48
int au_wh_unlink_dentry(struct inode *h_dir, struct dentry *wh_dentry,
49
struct dentry *dentry, struct inode *dir, int dlgt);
46
int au_whtmp_ren(struct inode *dir, aufs_bindex_t bindex,
47
struct dentry *h_dentry);
48
int au_wh_unlink_dentry(struct au_hinode *dir, struct dentry *wh_dentry,
49
struct dentry *dentry, int dlgt);
52
52
int au_wh_init(struct dentry *h_parent, struct au_branch *br,
53
struct vfsmount *nfsmnt, struct super_block *sb);
53
struct vfsmount *nfsmnt, struct super_block *sb,
54
aufs_bindex_t bindex);
56
57
#define AuDiropq_CREATE 1
69
70
struct dentry *au_wh_lkup(struct dentry *h_parent, struct qstr *base_name,
70
71
struct au_ndx *ndx);
71
struct dentry *au_wh_create(struct inode *dir, struct dentry *dentry,
72
aufs_bindex_t bindex, struct dentry *h_parent,
72
struct dentry *au_wh_create(struct dentry *dentry, aufs_bindex_t bindex,
73
struct dentry *h_parent, struct au_ndx *ndx);
75
75
/* real rmdir the whiteout-ed dir */
76
76
struct au_whtmp_rmdir_args {
77
struct dentry *h_dentry;
79
struct dentry *wh_dentry;
78
80
struct au_nhash whlist;
80
struct inode *dir, *inode;
85
int au_whtmp_rmdir(struct dentry *h_dentry, struct au_nhash *whlist,
86
aufs_bindex_t bindex, struct inode *dir, struct inode *inode,
88
void au_whtmp_kick_rmdir(struct dentry *h_dentry, struct au_nhash *whlist,
89
aufs_bindex_t bindex, struct inode *dir,
90
struct inode *inode, int noself,
84
int au_whtmp_rmdir(struct inode *dir, aufs_bindex_t bindex,
85
struct dentry *wh_dentry, struct au_nhash *whlist);
86
void au_whtmp_kick_rmdir(struct inode *dir, aufs_bindex_t bindex,
87
struct dentry *wh_dentry, struct au_nhash *whlist,
91
88
struct au_whtmp_rmdir_args *args);
93
90
/* ---------------------------------------------------------------------- */