[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>
This commit is contained in:
parent
a1d144c71d
commit
62f140c173
|
@ -42,8 +42,9 @@ static ssize_t block_store(struct gdlm_ls *ls, const char *buf, size_t len)
|
||||||
else if (val == 0) {
|
else if (val == 0) {
|
||||||
clear_bit(DFL_BLOCK_LOCKS, &ls->flags);
|
clear_bit(DFL_BLOCK_LOCKS, &ls->flags);
|
||||||
gdlm_submit_delayed(ls);
|
gdlm_submit_delayed(ls);
|
||||||
} else
|
} else {
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue