fix a braino in compat_sys_getrlimit()
authorAl Viro <viro@ZenIV.linux.org.uk>
Wed, 12 Jul 2017 03:59:45 +0000 (04:59 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Jul 2017 16:15:00 +0000 (09:15 -0700)
commit58c7ffc0747a3a9145629d4966291f0586703767
treee3805df8a96cf9af0d5e001dcd82c9c3b1619f4a
parent3b06b1a7448ee4e8e51dae3938774735404e51fb
fix a braino in compat_sys_getrlimit()

Reported-and-tested-by: Meelis Roos <mroos@linux.ee>
Fixes: commit d9e968cb9f84 "getrlimit()/setrlimit(): move compat to native"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sys.c