diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 15:53:15 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 15:53:15 -0400 |
| commit | 0003230e8200699860f0b10af524dc47bf8aecad (patch) | |
| tree | 8addb0c889b32111d6973c46cd3d0a5b5c17606c /include/linux/fs.h | |
| parent | 4b478cedcdc1b2d131170f22bd3f916e53472f52 (diff) | |
| parent | 4e34e719e457f2e031297175410fc0bd4016a085 (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
fs: take the ACL checks to common code
bury posix_acl_..._masq() variants
kill boilerplates around posix_acl_create_masq()
generic_acl: no need to clone acl just to push it to set_cached_acl()
kill boilerplate around posix_acl_chmod_masq()
reiserfs: cache negative ACLs for v1 stat format
xfs: cache negative ACLs if there is no attribute fork
9p: do no return 0 from ->check_acl without actually checking
vfs: move ACL cache lookup into generic code
CIFS: Fix oops while mounting with prefixpath
xfs: Fix wrong return value of xfs_file_aio_write
fix devtmpfs race
caam: don't pass bogus S_IFCHR to debugfs_create_...()
get rid of create_proc_entry() abuses - proc_mkdir() is there for purpose
asus-wmi: ->is_visible() can't return negative
fix jffs2 ACLs on big-endian with 16bit mode_t
9p: close ACL leaks
ocfs2_init_acl(): fix a leak
VFS : mount lock scalability for internal mounts
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 0c35d6e767d9..292f8a7d4089 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -1582,7 +1582,7 @@ struct inode_operations { | |||
| 1582 | struct dentry * (*lookup) (struct inode *,struct dentry *, struct nameidata *); | 1582 | struct dentry * (*lookup) (struct inode *,struct dentry *, struct nameidata *); |
| 1583 | void * (*follow_link) (struct dentry *, struct nameidata *); | 1583 | void * (*follow_link) (struct dentry *, struct nameidata *); |
| 1584 | int (*permission) (struct inode *, int); | 1584 | int (*permission) (struct inode *, int); |
| 1585 | int (*check_acl)(struct inode *, int); | 1585 | struct posix_acl * (*get_acl)(struct inode *, int); |
| 1586 | 1586 | ||
| 1587 | int (*readlink) (struct dentry *, char __user *,int); | 1587 | int (*readlink) (struct dentry *, char __user *,int); |
| 1588 | void (*put_link) (struct dentry *, struct nameidata *, void *); | 1588 | void (*put_link) (struct dentry *, struct nameidata *, void *); |
| @@ -1881,6 +1881,7 @@ extern int register_filesystem(struct file_system_type *); | |||
| 1881 | extern int unregister_filesystem(struct file_system_type *); | 1881 | extern int unregister_filesystem(struct file_system_type *); |
| 1882 | extern struct vfsmount *kern_mount_data(struct file_system_type *, void *data); | 1882 | extern struct vfsmount *kern_mount_data(struct file_system_type *, void *data); |
| 1883 | #define kern_mount(type) kern_mount_data(type, NULL) | 1883 | #define kern_mount(type) kern_mount_data(type, NULL) |
| 1884 | extern void kern_unmount(struct vfsmount *mnt); | ||
| 1884 | extern int may_umount_tree(struct vfsmount *); | 1885 | extern int may_umount_tree(struct vfsmount *); |
| 1885 | extern int may_umount(struct vfsmount *); | 1886 | extern int may_umount(struct vfsmount *); |
| 1886 | extern long do_mount(char *, char *, char *, unsigned long, void *); | 1887 | extern long do_mount(char *, char *, char *, unsigned long, void *); |
