Staging: lustre: Fix space required before the open parenthesis
authorTugce Sirin <ztugcesirin@gmail.com>
Wed, 19 Mar 2014 19:01:08 +0000 (21:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Mar 2014 20:41:27 +0000 (13:41 -0700)
This patch fixes space required before the open parenthesis in lustre
driver.

Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/mdc_locks.c

index 523f089f0aa8c259594758a688f8ed83ac900fa6..53022ec390f07be32f8bc2609f1a879bda50bf76 100644 (file)
@@ -121,7 +121,7 @@ int mdc_set_lock_data(struct obd_export *exp, __u64 *lockh, void *data,
        struct ldlm_lock *lock;
        struct inode *new_inode = data;
 
-       if(bits)
+       if (bits)
                *bits = 0;
 
        if (!*lockh)
@@ -196,7 +196,7 @@ int mdc_null_inode(struct obd_export *exp,
        fid_build_reg_res_name(fid, &res_id);
 
        res = ldlm_resource_get(ns, NULL, &res_id, 0, 0);
-       if(res == NULL)
+       if (res == NULL)
                return 0;
 
        lock_res(res);