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

« back to all changes in this revision

Viewing changes to fs/aufs25/misc.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:
17
17
 */
18
18
 
19
19
/*
20
 
 * $Id: misc.h,v 1.3 2008/05/26 04:04:26 sfjro Exp $
 
20
 * $Id: misc.h,v 1.5 2008/07/07 01:13:30 sfjro Exp $
21
21
 */
22
22
 
23
23
#ifndef __AUFS_MISC_H__
184
184
 
185
185
void *au_kzrealloc(void *p, unsigned int nused, unsigned int new_sz, gfp_t gfp);
186
186
 
 
187
struct au_nd_store {
 
188
        unsigned int            flags;
 
189
        struct path             path;
 
190
        struct open_intent      intent;
 
191
};
187
192
struct au_sbinfo;
 
193
void au_nd_store(struct au_nd_store *store, struct nameidata *nd,
 
194
                 struct au_sbinfo *sbinfo);
 
195
void au_nd_revert(struct au_nd_store *store, struct nameidata *nd,
 
196
                  struct au_sbinfo *sbinfo);
 
197
 
188
198
struct nameidata *au_dup_nd(struct au_sbinfo *sbinfo, struct nameidata *dst,
189
199
                            struct nameidata *src);
190
200
 
191
201
struct nameidata *au_fake_dm(struct nameidata *fake_nd, struct nameidata *nd,
192
202
                             struct super_block *sb, aufs_bindex_t bindex);
193
203
void au_fake_dm_release(struct nameidata *fake_nd);
 
204
struct vfsub_args;
194
205
int au_h_create(struct inode *h_dir, struct dentry *h_dentry, int mode,
195
 
                int dlgt, struct nameidata *nd, struct vfsmount *nfsmnt);
 
206
                struct vfsub_args *vargs, struct nameidata *nd,
 
207
                struct vfsmount *nfsmnt);
196
208
 
 
209
struct au_hinode;
197
210
int au_copy_file(struct file *dst, struct file *src, loff_t len,
198
 
                 struct super_block *sb);
 
211
                 struct au_hinode *hdir, struct super_block *sb);
199
212
 
200
213
#endif /* __KERNEL__ */
201
214
#endif /* __AUFS_MISC_H__ */