diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-09-15 20:42:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-09 15:55:11 -0700 |
commit | 120011ea116c37f481a212f5c3d00e827777f1ee (patch) | |
tree | b5ccfc691b8f358e1dc0d98ea356192eca310f40 /net/802 | |
parent | a89861f3694d7e5bcd3d1d2ab2abe040ca044e0a (diff) |
GFS2: Clean up gfs2_adjust_quota() and do_glock()
commit 1e72c0f7c40e665d2ed40014750fdd2fa9968bcf upstream.
Both of these functions contained confusing and in one case
duplicate code. This patch adds a new check in do_glock()
so that we report -ENOENT if we are asked to sync a quota
entry which doesn't exist. Due to the previous patch this is
now reported correctly to userspace.
Also there are a few new comments, and I hope that the code
is easier to understand now.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions