aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-02 16:08:01 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-02 16:08:01 +0800
commit8707c96e960d34f9dfee15240b1797084512fcef (patch)
tree315c9d864d575308327d88ae8d8d8be76a89da42 /drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
parentstaging: lustre: remove ll_permission() (diff)
downloadlinux-dev-8707c96e960d34f9dfee15240b1797084512fcef.tar.xz
linux-dev-8707c96e960d34f9dfee15240b1797084512fcef.zip
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/include/linux/lustre_compat25.h')
-rw-r--r--drivers/staging/lustre/lustre/include/linux/lustre_compat25.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h b/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
index 65c7dd8eb965..b44bc03c5b9e 100644
--- a/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
+++ b/drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
@@ -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 ll_generic_permission(inode, mask, flags, check_acl) \
- generic_permission(inode, mask)
-
#define ll_vfs_symlink(dir, dentry, mnt, path, mode) \
vfs_symlink(dir, dentry, path)