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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1668b82116
commit
e4265658ce
2 changed files with 1 additions and 3 deletions
|
@ -43,8 +43,6 @@
|
|||
|
||||
#include "../lvfs.h"
|
||||
|
||||
#define l_filp_open filp_open
|
||||
|
||||
struct lvfs_run_ctxt;
|
||||
struct file *l_dentry_open(struct lvfs_run_ctxt *, struct dentry *,
|
||||
int flags);
|
||||
|
|
|
@ -567,7 +567,7 @@ static struct file *llog_filp_open(char *dir, char *name, int flags, int mode)
|
|||
if (len >= PATH_MAX - 1) {
|
||||
filp = ERR_PTR(-ENAMETOOLONG);
|
||||
} else {
|
||||
filp = l_filp_open(logname, flags, mode);
|
||||
filp = filp_open(logname, flags, mode);
|
||||
if (IS_ERR(filp) && PTR_ERR(filp) != -ENOENT)
|
||||
CERROR("logfile creation %s: %ld\n", logname,
|
||||
PTR_ERR(filp));
|
||||
|
|
Loading…
Add table
Reference in a new issue