summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorTina Ruchandani <ruchandani.tina@gmail.com>2014-10-22 13:39:11 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-23 11:09:16 +0800
commit2a80f844158b9b5327a159dc9c0fa6b676d2bd9d (patch)
tree8aa4bf4d45e52c52fd6bba5f4dd86e5789f21886 /drivers/staging/lustre
parent464289d876ba6774972ecb277dad4b104e565fbe (diff)
downloadblackbird-op-linux-2a80f844158b9b5327a159dc9c0fa6b676d2bd9d.tar.gz
blackbird-op-linux-2a80f844158b9b5327a159dc9c0fa6b676d2bd9d.zip
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: Tina Ruchandani <ruchandani.tina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/lustre/llite/namei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/llite/namei.c b/drivers/staging/lustre/lustre/llite/namei.c
index 7a68c1e027e0..2971a26370be 100644
--- a/drivers/staging/lustre/lustre/llite/namei.c
+++ b/drivers/staging/lustre/lustre/llite/namei.c
@@ -948,7 +948,7 @@ static int ll_mkdir_generic(struct inode *dir, struct qstr *name,
/* Try to find the child dentry by its name.
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 dentry *parent, *child;
@@ -1190,7 +1190,7 @@ static int ll_mknod(struct inode *dir, struct dentry *dchild, ll_umode_t mode,
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);
}
OpenPOWER on IntegriCloud