mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
->permission() sanitizing: don't pass flags to ->permission()
not used by the instances anymore. Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
2830ba7f34
commit
10556cb21a
31 changed files with 55 additions and 55 deletions
|
|
@ -799,7 +799,7 @@ out_err:
|
|||
return err;
|
||||
}
|
||||
|
||||
int nilfs_permission(struct inode *inode, int mask, unsigned int flags)
|
||||
int nilfs_permission(struct inode *inode, int mask)
|
||||
{
|
||||
struct nilfs_root *root = NILFS_I(inode)->i_root;
|
||||
if ((mask & MAY_WRITE) && root &&
|
||||
|
|
|
|||
|
|
@ -264,7 +264,7 @@ extern void nilfs_update_inode(struct inode *, struct buffer_head *);
|
|||
extern void nilfs_truncate(struct inode *);
|
||||
extern void nilfs_evict_inode(struct inode *);
|
||||
extern int nilfs_setattr(struct dentry *, struct iattr *);
|
||||
int nilfs_permission(struct inode *inode, int mask, unsigned int flags);
|
||||
int nilfs_permission(struct inode *inode, int mask);
|
||||
int nilfs_load_inode_block(struct inode *inode, struct buffer_head **pbh);
|
||||
extern int nilfs_inode_dirty(struct inode *);
|
||||
int nilfs_set_file_dirty(struct inode *inode, unsigned nr_dirty);
|
||||
|
|
|
|||
Loading…
Reference in a new issue