mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
don't pass nameidata to ->follow_link()
its only use is getting passed to nd_jump_link(), which can obtain it from current->nameidata Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
8402752ecf
commit
6e77137b36
31 changed files with 44 additions and 44 deletions
|
|
@ -50,7 +50,7 @@ prototypes:
|
|||
int (*rename2) (struct inode *, struct dentry *,
|
||||
struct inode *, struct dentry *, unsigned int);
|
||||
int (*readlink) (struct dentry *, char __user *,int);
|
||||
const char *(*follow_link) (struct dentry *, void **, struct nameidata *);
|
||||
const char *(*follow_link) (struct dentry *, void **);
|
||||
void (*put_link) (struct dentry *, void *);
|
||||
void (*truncate) (struct inode *);
|
||||
int (*permission) (struct inode *, int, unsigned int);
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@ struct inode_operations {
|
|||
int (*rename2) (struct inode *, struct dentry *,
|
||||
struct inode *, struct dentry *, unsigned int);
|
||||
int (*readlink) (struct dentry *, char __user *,int);
|
||||
const char *(*follow_link) (struct dentry *, void **, struct nameidata *);
|
||||
const char *(*follow_link) (struct dentry *, void **);
|
||||
void (*put_link) (struct dentry *, void *);
|
||||
int (*permission) (struct inode *, int);
|
||||
int (*get_acl)(struct inode *, int);
|
||||
|
|
|
|||
Loading…
Reference in a new issue