diff options
| author | NeilBrown <[email protected]> | 2012-02-07 15:35:42 +1100 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2012-02-17 18:38:51 -0500 |
| commit | de5b8e8e047534aac6bc9803f96e7257436aef9c (patch) | |
| tree | a32c2ccf0e2992f177c0a5db41e6b2b515b603e2 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | cec56c8ff5e28f58ff13041dca7853738ae577a1 (diff) | |
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: [email protected]
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions