From: Lee Jones Date: Sat, 3 Nov 2012 22:02:28 +0000 (+0100) Subject: quota: Use the pre-processor to compile out quotactl_cmd_write when !CONFIG_BLOCK X-Git-Tag: v3.8-rc1~80^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56df127855b593cc4b2e94ce8df5c609b0109b42;p=pandora-kernel.git quota: Use the pre-processor to compile out quotactl_cmd_write when !CONFIG_BLOCK quotactl_cmd_write() is only ever invoked when BLOCK is configured. When !CONFIG_BLOCK, the build warning below is displayed. Let's fix that. fs/quota/quota.c:311:12: warning: ‘quotactl_cmd_write’ defined but not used [-Wunused-function] Cc: Jan Kara Signed-off-by: Lee Jones Signed-off-by: Jan Kara --- Reading git-diff-tree failed