aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/sun
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-02-07 15:35:42 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-02 09:27:21 -0700
commit7b1e2d3c528c25cdd4691e3f8c1fdc3275e5de96 (patch)
tree149a5bce052fe4497e199e6ef518f8ea646b3628 /firmware/sun
parent096e4eafb36436b6ce6e8dc372bc5f6e11804e68 (diff)
downloadkernel_samsung_espresso10-7b1e2d3c528c25cdd4691e3f8c1fdc3275e5de96.zip
kernel_samsung_espresso10-7b1e2d3c528c25cdd4691e3f8c1fdc3275e5de96.tar.gz
kernel_samsung_espresso10-7b1e2d3c528c25cdd4691e3f8c1fdc3275e5de96.tar.bz2
lockd: fix arg parsing for grace_period and timeout.
commit de5b8e8e047534aac6bc9803f96e7257436aef9c upstream. If you try to set grace_period or timeout via a module parameter to lockd, and do this on a big-endian machine where sizeof(int) != sizeof(unsigned long) it won't work. This number given will be effectively shifted right by the difference in those two sizes. So cast kp->arg properly to get correct result. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware/sun')
0 files changed, 0 insertions, 0 deletions