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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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));