staging: lustre: Fix checkpatch.pl spacing-related errors
This patch fixes misc. spacing errors reported by checkpatch.pl for lustre/llite/file.c Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
abb368abf7
commit
57303e76c2
1 changed files with 4 additions and 3 deletions
|
@ -247,7 +247,7 @@ int ll_md_real_close(struct inode *inode, fmode_t fmode)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
och=*och_p;
|
och = *och_p;
|
||||||
*och_p = NULL;
|
*och_p = NULL;
|
||||||
mutex_unlock(&lli->lli_och_mutex);
|
mutex_unlock(&lli->lli_och_mutex);
|
||||||
|
|
||||||
|
@ -297,7 +297,8 @@ static int ll_md_close(struct obd_export *md_exp, struct inode *inode,
|
||||||
__u64 flags = LDLM_FL_BLOCK_GRANTED | LDLM_FL_TEST_LOCK;
|
__u64 flags = LDLM_FL_BLOCK_GRANTED | LDLM_FL_TEST_LOCK;
|
||||||
struct lustre_handle lockh;
|
struct lustre_handle lockh;
|
||||||
struct inode *inode = file->f_dentry->d_inode;
|
struct inode *inode = file->f_dentry->d_inode;
|
||||||
ldlm_policy_data_t policy = {.l_inodebits={MDS_INODELOCK_OPEN}};
|
ldlm_policy_data_t policy = {
|
||||||
|
.l_inodebits = {MDS_INODELOCK_OPEN} };
|
||||||
|
|
||||||
mutex_lock(&lli->lli_och_mutex);
|
mutex_lock(&lli->lli_och_mutex);
|
||||||
if (fd->fd_omode & FMODE_WRITE) {
|
if (fd->fd_omode & FMODE_WRITE) {
|
||||||
|
@ -2866,7 +2867,7 @@ ldlm_mode_t ll_take_md_lock(struct inode *inode, __u64 bits,
|
||||||
struct lustre_handle *lockh, __u64 flags,
|
struct lustre_handle *lockh, __u64 flags,
|
||||||
ldlm_mode_t mode)
|
ldlm_mode_t mode)
|
||||||
{
|
{
|
||||||
ldlm_policy_data_t policy = { .l_inodebits = {bits}};
|
ldlm_policy_data_t policy = { .l_inodebits = {bits} };
|
||||||
struct lu_fid *fid;
|
struct lu_fid *fid;
|
||||||
ldlm_mode_t rc;
|
ldlm_mode_t rc;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue