~ubuntu-branches/ubuntu/precise/aufs/precise

« back to all changes in this revision

Viewing changes to fs/aufs/dcsub.h

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2007-06-04 15:17:03 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070604151703-ur9mjtbbpwoga2y6
Tags: 0+20070605-1
* New upstream snapshot
* Remove unionctl

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17
17
 */
18
18
 
19
 
/* $Id: dcsub.h,v 1.1 2007/04/16 01:14:30 sfjro Exp $ */
 
19
/* $Id: dcsub.h,v 1.4 2007/06/04 02:15:32 sfjro Exp $ */
20
20
 
21
21
#ifndef __AUFS_DCSUB_H__
22
22
#define __AUFS_DCSUB_H__
23
23
 
 
24
#ifdef __KERNEL__
 
25
 
24
26
#include <linux/dcache.h>
25
27
 
26
 
#ifdef __KERNEL__
27
 
 
28
28
struct au_dpage {
29
29
        int ndentry;
30
30
        struct dentry **dentries;
42
42
typedef int (*au_dpages_test)(struct dentry *dentry, void *arg);
43
43
int au_dcsub_pages(struct au_dcsub_pages *dpages, struct dentry *root,
44
44
                   au_dpages_test test, void *arg);
 
45
int au_dcsub_pages_rev(struct au_dcsub_pages *dpages, struct dentry *dentry,
 
46
                       int do_include, au_dpages_test test, void *arg);
 
47
int au_is_subdir(struct dentry *d1, struct dentry *d2);
45
48
 
46
49
#endif /* __KERNEL__ */
47
50
#endif /* __AUFS_DCSUB_H__ */