Commit dd4c3a48 authored by Greg Kroah-Hartman's avatar 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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 418690b6
...@@ -92,8 +92,6 @@ static inline void ll_set_fs_pwd(struct fs_struct *fs, struct vfsmount *mnt, ...@@ -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) \ # define ll_generic_permission(inode, mask, flags, check_acl) \
generic_permission(inode, mask) 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) \ #define ll_vfs_symlink(dir, dentry, mnt, path, mode) \
vfs_symlink(dir, dentry, path) vfs_symlink(dir, dentry, path)
......
...@@ -238,7 +238,7 @@ struct l_file *l_dentry_open(struct lvfs_run_ctxt *ctxt, struct l_dentry *de, ...@@ -238,7 +238,7 @@ struct l_file *l_dentry_open(struct lvfs_run_ctxt *ctxt, struct l_dentry *de,
.dentry = de, .dentry = de,
.mnt = ctxt->pwdmnt, .mnt = ctxt->pwdmnt,
}; };
return ll_dentry_open(&path, flags, current_cred()); return dentry_open(&path, flags, current_cred());
} }
EXPORT_SYMBOL(l_dentry_open); EXPORT_SYMBOL(l_dentry_open);
......
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