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>
This commit is contained in:
parent
464289d876
commit
2a80f84415
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue