]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[GFS2] Add brackets in locking/dlm/sysfs.c
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 7 Sep 2006 13:54:55 +0000 (09:54 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 7 Sep 2006 13:54:55 +0000 (09:54 -0400)
As per Jan Engelhardt's request.

Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/locking/dlm/sysfs.c

index 82bef017f944c6d5c21ee7186d3000ddd04d5e81..c1237a91fc683db4319ca7c8b2e6ca4623e4f61f 100644 (file)
@@ -42,8 +42,9 @@ static ssize_t block_store(struct gdlm_ls *ls, const char *buf, size_t len)
        else if (val == 0) {
                clear_bit(DFL_BLOCK_LOCKS, &ls->flags);
                gdlm_submit_delayed(ls);
-       } else
+       } else {
                ret = -EINVAL;
+       }
        return ret;
 }