|
@@ -1613,7 +1613,7 @@ struct inode_operations {
|
|
|
struct posix_acl * (*get_acl)(struct inode *, int);
|
|
|
|
|
|
int (*readlink) (struct dentry *, char __user *,int);
|
|
|
- void (*put_link) (struct dentry *, void *);
|
|
|
+ void (*put_link) (struct inode *, void *);
|
|
|
|
|
|
int (*create) (struct inode *,struct dentry *, umode_t, bool);
|
|
|
int (*link) (struct dentry *,struct inode *,struct dentry *);
|
|
@@ -2706,12 +2706,12 @@ extern const struct file_operations generic_ro_fops;
|
|
|
extern int readlink_copy(char __user *, int, const char *);
|
|
|
extern int page_readlink(struct dentry *, char __user *, int);
|
|
|
extern const char *page_follow_link_light(struct dentry *, void **);
|
|
|
-extern void page_put_link(struct dentry *, void *);
|
|
|
+extern void page_put_link(struct inode *, void *);
|
|
|
extern int __page_symlink(struct inode *inode, const char *symname, int len,
|
|
|
int nofs);
|
|
|
extern int page_symlink(struct inode *inode, const char *symname, int len);
|
|
|
extern const struct inode_operations page_symlink_inode_operations;
|
|
|
-extern void kfree_put_link(struct dentry *, void *);
|
|
|
+extern void kfree_put_link(struct inode *, void *);
|
|
|
extern int generic_readlink(struct dentry *, char __user *, int);
|
|
|
extern void generic_fillattr(struct inode *, struct kstat *);
|
|
|
int vfs_getattr_nosec(struct path *path, struct kstat *stat);
|