~ubuntu-branches/ubuntu/utopic/aufs/utopic

« back to all changes in this revision

Viewing changes to fs/aufs/opts.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: opts.h,v 1.11 2007/04/09 02:46:28 sfjro Exp $ */
 
19
/* $Id: opts.h,v 1.13 2007/05/14 06:27:18 sfjro Exp $ */
20
20
 
21
21
#ifndef __AUFS_OPTS_H__
22
22
#define __AUFS_OPTS_H__
23
23
 
 
24
#ifdef __KERNEL__
 
25
 
24
26
#include <linux/fs.h>
25
27
#include <linux/namei.h>
 
28
#include <linux/version.h>
26
29
#include <linux/aufs_type.h>
27
30
 
28
 
#ifdef __KERNEL__
 
31
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
 
32
typedef const char* au_parser_pattern_t;
 
33
#else
 
34
typedef char* au_parser_pattern_t;
 
35
#endif
 
36
 
 
37
/* ---------------------------------------------------------------------- */
29
38
 
30
39
struct opt_add {
31
40
        aufs_bindex_t           bindex;
73
82
 
74
83
/* ---------------------------------------------------------------------- */
75
84
 
76
 
int br_perm_str(char *p, int len, int brperm);
77
 
char *udba_str(int udba);
 
85
int br_perm_str(char *p, unsigned int len, int brperm);
 
86
au_parser_pattern_t udba_str(int udba);
78
87
void udba_set(struct super_block *sb, unsigned int flg);
79
 
//char *coo_str(int coo);
 
88
//au_parser_pattern_t coo_str(int coo);
80
89
void au_free_opts(struct opts *opts);
81
90
int au_parse_opts(struct super_block *sb, char *str, struct opts *opts);
82
91
int au_do_opts_mount(struct super_block *sb, struct opts *opts);