summaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-03-09 14:14:26 +0100
committerPatrick McHardy <kaber@trash.net>2011-03-09 14:14:26 +0100
commitadb00ae2ea0ec65f9d3d06079950c0f0ade3b614 (patch)
tree78f6cad2236a0393b74b6e9ac5b1975323cefde6 /fs/jbd/commit.c
parent9846ada138accc63994b57ebdfa76e3e137729e2 (diff)
netfilter: x_tables: misuse of try_then_request_module
Since xt_find_match() returns ERR_PTR(xx) on error not NULL, the macro try_then_request_module won't work correctly here. The macro expects its first argument will be zero if condition fails. But ERR_PTR(-ENOENT) is not zero. The correct solution is to propagate the error value back. Found by inspection, and compile tested only. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions