diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-21 17:01:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 07:17:25 -0700 |
commit | 6aed62853c72e29f2c97bbac7712cb398e8c9437 (patch) | |
tree | 4362cfa98b6b588f84fb2241115b7ef5b5dfce55 /fs/lockd | |
parent | 6e1d5dcc2bbbe71dbf010c747e15739bef6b7218 (diff) | |
download | kernel_samsung_crespo-6aed62853c72e29f2c97bbac7712cb398e8c9437.zip kernel_samsung_crespo-6aed62853c72e29f2c97bbac7712cb398e8c9437.tar.gz kernel_samsung_crespo-6aed62853c72e29f2c97bbac7712cb398e8c9437.tar.bz2 |
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>
Diffstat (limited to 'fs/lockd')
-rw-r--r-- | fs/lockd/clntproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/clntproc.c b/fs/lockd/clntproc.c index 4336adb..c81249f 100644 --- a/fs/lockd/clntproc.c +++ b/fs/lockd/clntproc.c @@ -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, }; |