summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-02-07 05:35:42 +0100
committerJ. Bruce Fields <bfields@redhat.com>2012-02-18 00:38:51 +0100
commitde5b8e8e047534aac6bc9803f96e7257436aef9c (patch)
treea32c2ccf0e2992f177c0a5db41e6b2b515b603e2 /fs/nfsd
parentsvcrdma: Cleanup sparse warnings in the svcrdma module (diff)
downloadlinux-de5b8e8e047534aac6bc9803f96e7257436aef9c.tar.xz
linux-de5b8e8e047534aac6bc9803f96e7257436aef9c.zip
lockd: fix arg parsing for grace_period and timeout.
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. Cc: stable@kernel.org Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions