OSDN Git Service

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 523f089..53022ec 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);