Commit 178b6901 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: lustre: remove l_dentry define

It's a 'dentry', so use it instead of something else.

Cc: Andreas Dilger <andreas.dilger@intel.com>
Cc: Oleg Drokin <oleg.drokin@intel.com>
Cc: hpdd-discuss <hpdd-discuss@lists.01.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ee9c1c16
...@@ -44,12 +44,11 @@ ...@@ -44,12 +44,11 @@
#include "../lvfs.h" #include "../lvfs.h"
#define l_file file #define l_file file
#define l_dentry dentry
#define l_filp_open filp_open #define l_filp_open filp_open
struct lvfs_run_ctxt; struct lvfs_run_ctxt;
struct l_file *l_dentry_open(struct lvfs_run_ctxt *, struct l_dentry *, struct l_file *l_dentry_open(struct lvfs_run_ctxt *, struct dentry *,
int flags); int flags);
struct l_linux_dirent { struct l_linux_dirent {
......
...@@ -233,7 +233,7 @@ int lustre_rename(struct dentry *dir, struct vfsmount *mnt, ...@@ -233,7 +233,7 @@ int lustre_rename(struct dentry *dir, struct vfsmount *mnt,
EXPORT_SYMBOL(lustre_rename); EXPORT_SYMBOL(lustre_rename);
/* Note: dput(dchild) will *not* be called if there is an error */ /* Note: dput(dchild) will *not* be called if there is an error */
struct l_file *l_dentry_open(struct lvfs_run_ctxt *ctxt, struct l_dentry *de, struct l_file *l_dentry_open(struct lvfs_run_ctxt *ctxt, struct dentry *de,
int flags) int flags)
{ {
struct path path = { struct path path = {
......
...@@ -581,7 +581,7 @@ static int llog_lvfs_open(const struct lu_env *env, struct llog_handle *handle, ...@@ -581,7 +581,7 @@ static int llog_lvfs_open(const struct lu_env *env, struct llog_handle *handle,
enum llog_open_param open_param) enum llog_open_param open_param)
{ {
struct llog_ctxt *ctxt = handle->lgh_ctxt; struct llog_ctxt *ctxt = handle->lgh_ctxt;
struct l_dentry *dchild = NULL; struct dentry *dchild = NULL;
struct obd_device *obd; struct obd_device *obd;
int rc = 0; int rc = 0;
...@@ -672,7 +672,7 @@ static int llog_lvfs_create(const struct lu_env *env, ...@@ -672,7 +672,7 @@ static int llog_lvfs_create(const struct lu_env *env,
{ {
struct llog_ctxt *ctxt = handle->lgh_ctxt; struct llog_ctxt *ctxt = handle->lgh_ctxt;
struct obd_device *obd; struct obd_device *obd;
struct l_dentry *dchild = NULL; struct dentry *dchild = NULL;
struct file *file; struct file *file;
struct obdo *oa = NULL; struct obdo *oa = NULL;
int rc = 0; int rc = 0;
......
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