Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -ruw linux-2.6.32.27/fs/ramfs/internal.h linux-2.6.32.27-fbx/fs/ramfs/internal.h
- --- linux-2.6.32.27/fs/ramfs/internal.h 2010-12-09 22:29:45.000000000 +0100
- +++ linux-2.6.32.27-fbx/fs/ramfs/internal.h 2011-08-29 16:28:22.741758276 +0200
- @@ -9,6 +9,42 @@
- * 2 of the License, or (at your option) any later version.
- */
- +#ifndef RAMFS_INTERNAL_H
- +# define RAMFS_INTERNALH
- +
- +/* need list_head */
- +#include <linux/list.h>
- extern const struct address_space_operations ramfs_aops;
- extern const struct inode_operations ramfs_file_inode_operations;
- +
- +
- +struct ramfs_xattr
- +{
- + char *name;
- + void *data;
- + size_t data_len;
- +
- + struct list_head list;
- +};
- +
- +struct ramfs_inode_info
- +{
- + struct inode vfs_inode;
- +#ifdef CONFIG_RAMFS_XATTR_USER
- + struct list_head xattr_user_list;
- +#endif
- +};
- +
- +static inline struct ramfs_inode_info *RAMFS_I(struct inode *inode)
- +{
- + return container_of(inode, struct ramfs_inode_info, vfs_inode);
- +}
- +
- +#ifdef CONFIG_RAMFS_XATTR
- +void ramfs_inode_purge_xattrs(struct ramfs_inode_info *rii);
- +extern struct xattr_handler *ramfs_xattr_handlers[];
- +#endif
- +
- +
- +#endif /* !RAMFS_INTERNAL_H */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement