Commit 8707c96e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: lustre: remove ll_generic_permission()

It was a wrapper around generic_permission(), totally useless.

Cc: Peng Tao <tao.peng@emc.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9c5fb72c
...@@ -87,9 +87,6 @@ static inline void ll_set_fs_pwd(struct fs_struct *fs, struct vfsmount *mnt, ...@@ -87,9 +87,6 @@ static inline void ll_set_fs_pwd(struct fs_struct *fs, struct vfsmount *mnt,
#define LTIME_S(time) (time.tv_sec) #define LTIME_S(time) (time.tv_sec)
# define ll_generic_permission(inode, mask, flags, check_acl) \
generic_permission(inode, mask)
#define ll_vfs_symlink(dir, dentry, mnt, path, mode) \ #define ll_vfs_symlink(dir, dentry, mnt, path, mode) \
vfs_symlink(dir, dentry, path) vfs_symlink(dir, dentry, path)
......
...@@ -2721,7 +2721,7 @@ int ll_inode_permission(struct inode *inode, int mask) ...@@ -2721,7 +2721,7 @@ int ll_inode_permission(struct inode *inode, int mask)
return lustre_check_remote_perm(inode, mask); return lustre_check_remote_perm(inode, mask);
ll_stats_ops_tally(ll_i2sbi(inode), LPROC_LL_INODE_PERM, 1); ll_stats_ops_tally(ll_i2sbi(inode), LPROC_LL_INODE_PERM, 1);
rc = ll_generic_permission(inode, mask, flags, ll_check_acl); rc = generic_permission(inode, mask);
RETURN(rc); RETURN(rc);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment