Commit 2a80f844 authored by Tina Ruchandani's avatar Tina Ruchandani Committed by Greg Kroah-Hartman

Staging: lustre: llite: Declare ptr args correctly

This patch fixes the following checkpatch errors:
ERROR: "foo * bar" should be "foo *bar"

951: FILE: drivers/staging/lustre/lustre/llite/namei.c:951:
static void ll_get_child_fid(struct inode * dir, struct qstr *name,

1193: FILE: drivers/staging/lustre/lustre/llite/namei.c:1193:
static int ll_unlink(struct inode * dir, struct dentry *dentry)
Signed-off-by: default avatarTina Ruchandani <ruchandani.tina@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 464289d8
...@@ -948,7 +948,7 @@ static int ll_mkdir_generic(struct inode *dir, struct qstr *name, ...@@ -948,7 +948,7 @@ static int ll_mkdir_generic(struct inode *dir, struct qstr *name,
/* Try to find the child dentry by its name. /* Try to find the child dentry by its name.
If found, put the result fid into @fid. */ If found, put the result fid into @fid. */
static void ll_get_child_fid(struct inode * dir, struct qstr *name, static void ll_get_child_fid(struct inode *dir, struct qstr *name,
struct lu_fid *fid) struct lu_fid *fid)
{ {
struct dentry *parent, *child; struct dentry *parent, *child;
...@@ -1190,7 +1190,7 @@ static int ll_mknod(struct inode *dir, struct dentry *dchild, ll_umode_t mode, ...@@ -1190,7 +1190,7 @@ static int ll_mknod(struct inode *dir, struct dentry *dchild, ll_umode_t mode,
old_encode_dev(rdev), dchild); old_encode_dev(rdev), dchild);
} }
static int ll_unlink(struct inode * dir, struct dentry *dentry) static int ll_unlink(struct inode *dir, struct dentry *dentry)
{ {
return ll_unlink_generic(dir, NULL, dentry, &dentry->d_name); return ll_unlink_generic(dir, NULL, dentry, &dentry->d_name);
} }
......
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