Commit e4265658 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: lustre: remove l_filep_open define

Just call filep_open(), no need to rename the thing.

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 1668b821
...@@ -43,8 +43,6 @@ ...@@ -43,8 +43,6 @@
#include "../lvfs.h" #include "../lvfs.h"
#define l_filp_open filp_open
struct lvfs_run_ctxt; struct lvfs_run_ctxt;
struct file *l_dentry_open(struct lvfs_run_ctxt *, struct dentry *, struct file *l_dentry_open(struct lvfs_run_ctxt *, struct dentry *,
int flags); int flags);
......
...@@ -567,7 +567,7 @@ static struct file *llog_filp_open(char *dir, char *name, int flags, int mode) ...@@ -567,7 +567,7 @@ static struct file *llog_filp_open(char *dir, char *name, int flags, int mode)
if (len >= PATH_MAX - 1) { if (len >= PATH_MAX - 1) {
filp = ERR_PTR(-ENAMETOOLONG); filp = ERR_PTR(-ENAMETOOLONG);
} else { } else {
filp = l_filp_open(logname, flags, mode); filp = filp_open(logname, flags, mode);
if (IS_ERR(filp) && PTR_ERR(filp) != -ENOENT) if (IS_ERR(filp) && PTR_ERR(filp) != -ENOENT)
CERROR("logfile creation %s: %ld\n", logname, CERROR("logfile creation %s: %ld\n", logname,
PTR_ERR(filp)); PTR_ERR(filp));
......
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