diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-07 09:54:55 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-07 09:54:55 -0400 |
commit | 62f140c173f2c85e15527eefc6e2fb3c37a97eb1 (patch) | |
tree | 4dfe10b292f15ab036ec0d323c2a8bcbf505ec38 /fs/gfs2/locking/dlm/sysfs.c | |
parent | a1d144c71ddc11d3e9d9f29e92cf037da382a541 (diff) | |
download | blackbird-op-linux-62f140c173f2c85e15527eefc6e2fb3c37a97eb1.tar.gz blackbird-op-linux-62f140c173f2c85e15527eefc6e2fb3c37a97eb1.zip |
[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/dlm/sysfs.c')
-rw-r--r-- | fs/gfs2/locking/dlm/sysfs.c | 3 |
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) else if (val == 0) { clear_bit(DFL_BLOCK_LOCKS, &ls->flags); gdlm_submit_delayed(ls); - } else + } else { ret = -EINVAL; + } return ret; } |