提交 dd4c3a48 编写于 作者: G Greg Kroah-Hartman

staging: lustre: remove ll_dentry_open()

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: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 418690b6
......@@ -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)
......
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册