mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
const: make lock_manager_operations const
Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6aed62853c
commit
7b021967c5
5 changed files with 6 additions and 6 deletions
|
|
@ -434,7 +434,7 @@ static int lease_mylease_callback(struct file_lock *fl, struct file_lock *try)
|
|||
return fl->fl_file == try->fl_file;
|
||||
}
|
||||
|
||||
static struct lock_manager_operations lease_manager_ops = {
|
||||
static const struct lock_manager_operations lease_manager_ops = {
|
||||
.fl_break = lease_break_callback,
|
||||
.fl_release_private = lease_release_private_callback,
|
||||
.fl_mylease = lease_mylease_callback,
|
||||
|
|
|
|||
Loading…
Reference in a new issue