const: make lock_manager_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:
Alexey Dobriyan
2009-09-21 17:01:12 -07:00
committed by Linus Torvalds
parent 6aed62853c
commit 7b021967c5
5 changed files with 6 additions and 6 deletions

View File

@@ -395,7 +395,7 @@ static inline int nlm_compare_locks(const struct file_lock *fl1,
&&(fl1->fl_type == fl2->fl_type || fl2->fl_type == F_UNLCK);
}
extern struct lock_manager_operations nlmsvc_lock_operations;
extern const struct lock_manager_operations nlmsvc_lock_operations;
#endif /* __KERNEL__ */