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

« back to all changes in this revision

Viewing changes to fs/aufs25/cpup.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
 * copy-up/down functions
21
21
 *
22
 
 * $Id: cpup.h,v 1.2 2008/04/21 01:33:43 sfjro Exp $
 
22
 * $Id: cpup.h,v 1.3 2008/06/30 03:51:47 sfjro Exp $
23
23
 */
24
24
 
25
25
#ifndef __AUFS_CPUP_H__
44
44
#define au_fset_cpup(flags, name)       { (flags) |= AuCpup_##name; }
45
45
#define au_fclr_cpup(flags, name)       { (flags) &= ~AuCpup_##name; }
46
46
 
47
 
int au_cpup_single(struct dentry *dentry, aufs_bindex_t bdst,
48
 
                   aufs_bindex_t bsrc, loff_t len, unsigned int flags);
49
47
int au_sio_cpup_single(struct dentry *dentry, aufs_bindex_t bdst,
50
 
                       aufs_bindex_t bsrc, loff_t len, unsigned int flags);
51
 
int au_cpup_simple(struct dentry *dentry, aufs_bindex_t bdst, loff_t len,
52
 
                   unsigned int flags);
 
48
                       aufs_bindex_t bsrc, loff_t len, unsigned int flags,
 
49
                       struct dentry *dst_parent);
53
50
int au_sio_cpup_simple(struct dentry *dentry, aufs_bindex_t bdst, loff_t len,
54
51
                       unsigned int flags);
55
52
int au_cpup_wh(struct dentry *dentry, aufs_bindex_t bdst, loff_t len,
71
68
/* keep timestamps when copyup */
72
69
struct au_dtime {
73
70
        struct dentry *dt_dentry, *dt_h_dentry;
74
 
        struct au_hinode *dt_hdir;
 
71
        struct au_hinode *dt_hinode, *dt_hdir;
75
72
        struct timespec dt_atime, dt_mtime;
76
73
};
77
74
void au_dtime_store(struct au_dtime *dt, struct dentry *dentry,
78
 
                    struct dentry *h_dentry, struct au_hinode *hdir);
 
75
                    struct dentry *h_dentry, struct au_hinode *hinode,
 
76
                    struct au_hinode *hdir);
79
77
void au_dtime_revert(struct au_dtime *dt);
80
78
 
81
79
#endif /* __KERNEL__ */