summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-07 09:54:55 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-07 09:54:55 -0400
commit62f140c173f2c85e15527eefc6e2fb3c37a97eb1 (patch)
tree4dfe10b292f15ab036ec0d323c2a8bcbf505ec38 /fs
parenta1d144c71ddc11d3e9d9f29e92cf037da382a541 (diff)
[GFS2] Add brackets in locking/dlm/sysfs.c
As per Jan Engelhardt's request. Cc: Jan Engelhardt <jengelh@linux01.gwdg.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/gfs2/locking/dlm/sysfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/locking/dlm/sysfs.c b/fs/gfs2/locking/dlm/sysfs.c
index 82bef017f94..c1237a91fc6 100644
--- a/fs/gfs2/locking/dlm/sysfs.c
+++ b/fs/gfs2/locking/dlm/sysfs.c
@@ -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;
}