summaryrefslogtreecommitdiff
path: root/fs/lockd/grace.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-11-14 15:48:05 (GMT)
committerJ. Bruce Fields <bfields@redhat.com>2012-11-15 12:40:32 (GMT)
commit621eb19ce1ec216e03ad354cb0c4061736b2a436 (patch)
tree57767888ba129e174a61398451a8ad405fd2028a /fs/lockd/grace.c
parent2b4cf668a7b8f84182a35f07152d8b6f012629d2 (diff)
downloadlinux-621eb19ce1ec216e03ad354cb0c4061736b2a436.tar.xz
svcrpc: Revert "sunrpc/cache.h: replace simple_strtoul"
Commit bbf43dc888833ac0539e437dbaeb28bfd4fbab9f "sunrpc/cache.h: replace simple_strtoul" introduced new range-checking which could cause get_int to fail on unsigned integers too large to be represented as an int. We could parse them as unsigned instead--but it turns out svcgssd is actually passing down "-1" in some cases. Which is perhaps stupid, but there's nothing we can do about it now. So just revert back to the previous "sloppy" behavior that accepts either representation. Cc: stable@vger.kernel.org Reported-by: Sven Geggus <lists@fuchsschwanzdomain.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/lockd/grace.c')
0 files changed, 0 insertions, 0 deletions