mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
const: make file_lock_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
6e1d5dcc2b
commit
6aed62853c
4 changed files with 4 additions and 4 deletions
|
|
@ -458,7 +458,7 @@ static void nlmclnt_locks_release_private(struct file_lock *fl)
|
|||
nlm_put_lockowner(fl->fl_u.nfs_fl.owner);
|
||||
}
|
||||
|
||||
static struct file_lock_operations nlmclnt_lock_ops = {
|
||||
static const struct file_lock_operations nlmclnt_lock_ops = {
|
||||
.fl_copy_lock = nlmclnt_locks_copy_lock,
|
||||
.fl_release_private = nlmclnt_locks_release_private,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue