diff options
author | Khadija Kamran <kamrankhadijadj@gmail.com> | 2023-08-23 09:44:41 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-09-14 00:57:01 +0300 |
commit | 25cc71d1527b55c880d333e7cc1dc37aeef9843f (patch) | |
tree | 3e59f618d4b8363bb20dea07c9c496f927197582 /fs/jbd2/commit.c | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) | |
download | linux-25cc71d1527b55c880d333e7cc1dc37aeef9843f.tar.xz |
lsm: constify 'sb' parameter in security_quotactl()
SELinux registers the implementation for the "quotactl" hook. Looking at
the function implementation we observe that the parameter "sb" is not
changing.
Mark the "sb" parameter of LSM hook security_quotactl() as "const" since
it will not be changing in the LSM hook.
Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions