4 * Copyright IBM, Corp. 2010
7 * Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
15 #include <sys/types.h>
22 typedef struct FsContext
28 typedef struct FileOperations
30 int (*lstat
)(FsContext
*, const char *, struct stat
*);
31 ssize_t (*readlink
)(FsContext
*, const char *, char *, size_t);
32 int (*setuid
)(FsContext
*, uid_t
);
33 int (*close
)(FsContext
*, int);
34 int (*closedir
)(FsContext
*, DIR *);