diff options
author | Joe Perches <joe@perches.com> | 2014-01-14 19:33:13 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2014-01-14 20:54:00 +0100 |
commit | 3e1d0bb6224f019893d1c498cc3327559d183674 (patch) | |
tree | cf64e0a4eefbe17851a56b21c16783e023860577 /fs/xfs/xfs_stats.c | |
parent | audit: Use more current logging style (diff) | |
download | linux-3e1d0bb6224f019893d1c498cc3327559d183674.tar.xz linux-3e1d0bb6224f019893d1c498cc3327559d183674.zip |
audit: Convert int limit uses to u32
The equivalent uapi struct uses __u32 so make the kernel
uses u32 too.
This can prevent some oddities where the limit is
logged/emitted as a negative value.
Convert kstrtol to kstrtouint to disallow negative values.
Signed-off-by: Joe Perches <joe@perches.com>
[eparis: do not remove static from audit_default declaration]
Diffstat (limited to 'fs/xfs/xfs_stats.c')
0 files changed, 0 insertions, 0 deletions