~ubuntu-branches/ubuntu/vivid/aufs/vivid

« back to all changes in this revision

Viewing changes to fs/aufs25/whout.h

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2008-08-21 14:58:54 UTC
  • mfrom: (1.1.8 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080821145854-4b49x09r4zmvlk5o
Tags: 0+20080719-4
01_vserver_apparmor.dpatch: [UPDATE] Disable vserver patches on kernel 
2.6.26, because they are not needed anymore. (Closes: #495921)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
/*
20
20
 * whiteout for logical deletion and opaque directory
21
21
 *
22
 
 * $Id: whout.h,v 1.2 2008/04/21 02:00:37 sfjro Exp $
 
22
 * $Id: whout.h,v 1.3 2008/06/30 03:57:35 sfjro Exp $
23
23
 */
24
24
 
25
25
#ifndef __AUFS_WHOUT_H__
43
43
 
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,
47
 
                 int noself);
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);
50
50
 
51
51
struct au_branch;
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);
54
55
 
55
56
/* diropq flags */
56
57
#define AuDiropq_CREATE 1
68
69
 
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,
73
 
                            struct au_ndx *ndx);
 
72
struct dentry *au_wh_create(struct dentry *dentry, aufs_bindex_t bindex,
 
73
                            struct dentry *h_parent, struct au_ndx *ndx);
74
74
 
75
75
/* real rmdir the whiteout-ed dir */
76
76
struct au_whtmp_rmdir_args {
77
 
        struct dentry *h_dentry;
 
77
        struct inode *dir;
 
78
        aufs_bindex_t bindex;
 
79
        struct dentry *wh_dentry;
78
80
        struct au_nhash whlist;
79
 
        aufs_bindex_t bindex;
80
 
        struct inode *dir, *inode;
81
 
        int noself;
82
81
};
83
82
 
84
83
struct au_nhash;
85
 
int au_whtmp_rmdir(struct dentry *h_dentry, struct au_nhash *whlist,
86
 
                   aufs_bindex_t bindex, struct inode *dir, struct inode *inode,
87
 
                   int noself);
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);
92
89
 
93
90
/* ---------------------------------------------------------------------- */