diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-25 14:52:53 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-28 00:47:24 -0400 |
commit | 8a04c43b8741ebb40508d160cf87ca74b70941af (patch) | |
tree | 4f1354430c4bf79bf001f95bdd02ec3f5d7c8410 /security/security.c | |
parent | 7fd25dac9ad3970bede16f2834daf9f9d779d1b0 (diff) |
constify security_sb_mount()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c index 4a3e7e99abbb..fc567656b16f 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -302,7 +302,7 @@ int security_sb_statfs(struct dentry *dentry) | |||
302 | return call_int_hook(sb_statfs, 0, dentry); | 302 | return call_int_hook(sb_statfs, 0, dentry); |
303 | } | 303 | } |
304 | 304 | ||
305 | int security_sb_mount(const char *dev_name, struct path *path, | 305 | int security_sb_mount(const char *dev_name, const struct path *path, |
306 | const char *type, unsigned long flags, void *data) | 306 | const char *type, unsigned long flags, void *data) |
307 | { | 307 | { |
308 | return call_int_hook(sb_mount, 0, dev_name, path, type, flags, data); | 308 | return call_int_hook(sb_mount, 0, dev_name, path, type, flags, data); |