From: Steven Whitehouse Date: Tue, 15 Sep 2009 19:42:56 +0000 (+0100) Subject: GFS2: Clean up gfs2_adjust_quota() and do_glock() X-Git-Tag: v2.6.33-rc1~410^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e72c0f7c40e665d2ed40014750fdd2fa9968bcf;p=pandora-kernel.git 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 --- Reading git-diff-tree failed