Skip to content
Commit 56df1278 authored by Lee Jones's avatar Lee Jones Committed by Jan Kara
Browse files

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 <jack@suse.cz>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 47897754
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment