commit | 1e72c0f7c40e665d2ed40014750fdd2fa9968bcf | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Tue Sep 15 20:42:56 2009 +0100 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Thu Dec 03 11:51:05 2009 +0000 |
tree | 89d8ef6d7b822ac17699a3c51a1c59c654aaf676 | |
parent | 6a6ada81e4ffc222bf7e54ea7503c7cc98b4f0d8 [diff] |
GFS2: Clean up gfs2_adjust_quota() and do_glock() 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>