staging: lustre: remove ll_dentry_open()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Aug 2013 07:51:34 +0000 (15:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Aug 2013 07:51:34 +0000 (15:51 +0800)
It was a wrapper around dentry_open(), 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>
drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
drivers/staging/lustre/lustre/lvfs/lvfs_linux.c

index 968cf73..ac8f939 100644 (file)
@@ -92,8 +92,6 @@ static inline void ll_set_fs_pwd(struct fs_struct *fs, struct vfsmount *mnt,
 # define ll_generic_permission(inode, mask, flags, check_acl) \
         generic_permission(inode, mask)
 
-#define ll_dentry_open(a,b,c)  dentry_open(a,b,c)
-
 #define ll_vfs_symlink(dir, dentry, mnt, path, mode) \
                       vfs_symlink(dir, dentry, path)
 
index 0f38791..d342e97 100644 (file)
@@ -238,7 +238,7 @@ struct l_file *l_dentry_open(struct lvfs_run_ctxt *ctxt, struct l_dentry *de,
                .dentry = de,
                .mnt = ctxt->pwdmnt,
        };
-       return ll_dentry_open(&path, flags, current_cred());
+       return dentry_open(&path, flags, current_cred());
 }
 EXPORT_SYMBOL(l_dentry_open);