const: make file_lock_operations const
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
6e1d5dcc2b
commit
6aed62853c
@ -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,
|
||||
};
|
||||
|
Reference in New Issue
Block a user