diff options
| author | Lee Jones <[email protected]> | 2012-11-03 22:02:28 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2012-12-13 15:33:24 +0000 |
| commit | 56df127855b593cc4b2e94ce8df5c609b0109b42 (patch) | |
| tree | 79b57b4e228cf35906e2a2a377fb0b5e167f5f1d /fs/proc/array.c | |
| parent | ext3: drop if around WARN_ON (diff) | |
| download | kernel-56df127855b593cc4b2e94ce8df5c609b0109b42.tar.gz kernel-56df127855b593cc4b2e94ce8df5c609b0109b42.zip | |
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 <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
