diff options
author | Latchesar Ionkov <lucho@ionkov.net> | 2005-09-23 04:43:48 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-23 05:17:33 (GMT) |
commit | d06a8fb130085c9f61e4c1a40445163087ecf89f (patch) | |
tree | c98595f83201adcd791ef9d3509aa1f157f3dfa2 /MAINTAINERS | |
parent | 89559a6119e9779c732fdc7aef5e175bf090dd69 (diff) | |
download | linux-fsl-qoriq-d06a8fb130085c9f61e4c1a40445163087ecf89f.tar.xz |
[PATCH] v9fs: make conv functions to check for conv buffer overflow
buf_check_size function checks if the conv buffer has enough space for the
performed operation, but it doesn't return the result back to the calling
function, only logs an error in the log.
The report-back-error functionality was lost when buf_check_size was
converted from macro to inline function. The return in the macro used to
exit from the functions that include it, after the conversion it just exits
from the inline function itself.
The patch makes buf_check_size to return flag and all functions that use
it check if they should perform the operation, or exit.
Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions