diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-09-15 20:42:56 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-12-03 11:51:05 +0000 |
commit | 1e72c0f7c40e665d2ed40014750fdd2fa9968bcf (patch) | |
tree | 89d8ef6d7b822ac17699a3c51a1c59c654aaf676 /include/linux/quota.h | |
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>
Diffstat (limited to 'include/linux/quota.h')
0 files changed, 0 insertions, 0 deletions