aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/locking
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/gfs2/locking
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/gfs2/locking')
-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 82bef017f944..c1237a91fc68 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)
42 else if (val == 0) { 42 else if (val == 0) {
43 clear_bit(DFL_BLOCK_LOCKS, &ls->flags); 43 clear_bit(DFL_BLOCK_LOCKS, &ls->flags);
44 gdlm_submit_delayed(ls); 44 gdlm_submit_delayed(ls);
45 } else 45 } else {
46 ret = -EINVAL; 46 ret = -EINVAL;
47 }
47 return ret; 48 return ret;
48} 49}
49 50