]> git.baikalelectronics.ru Git - kernel.git/commit
quota: remove unnecessary oom message
authorZhen Lei <thunder.leizhen@huawei.com>
Fri, 18 Jun 2021 01:47:20 +0000 (09:47 +0800)
committerJan Kara <jack@suse.cz>
Tue, 22 Jun 2021 08:40:52 +0000 (10:40 +0200)
commit657f0469cf1647f3746689fda527a849d32ed3e8
tree79789c47af5236e605d3abd429f6d8aece0d09dc
parent9263a2cef9c38d390bf0af5522293865b23fce08
quota: remove unnecessary oom message

Fixes scripts/checkpatch.pl warning:
WARNING: Possible unnecessary 'out of memory' message

Remove it can help us save a bit of memory. After that, the static
function getdqbuf() becomes unnecessary, get rid of it and instead call
kmalloc() directly.

Link: https://lore.kernel.org/r/20210618014720.1977-2-thunder.leizhen@huawei.com
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/quota_tree.c