summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorAlexey Dobriyan2009-09-22 02:01:11 +0200
committerLinus Torvalds2009-09-22 16:17:25 +0200
commit6aed62853c72e29f2c97bbac7712cb398e8c9437 (patch)
tree4362cfa98b6b588f84fb2241115b7ef5b5dfce55 /fs/nfs/nfs4state.c
parentconst: mark remaining inode_operations as const (diff)
downloadkernel-qcow2-linux-6aed62853c72e29f2c97bbac7712cb398e8c9437.tar.gz
kernel-qcow2-linux-6aed62853c72e29f2c97bbac7712cb398e8c9437.tar.xz
kernel-qcow2-linux-6aed62853c72e29f2c97bbac7712cb398e8c9437.zip
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/nfs/nfs4state.c')
-rw-r--r--fs/nfs/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index 1434080aefeb..2ef4fecf3984 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -638,7 +638,7 @@ static void nfs4_fl_release_lock(struct file_lock *fl)
nfs4_put_lock_state(fl->fl_u.nfs4_fl.owner);
}
-static struct file_lock_operations nfs4_fl_lock_ops = {
+static const struct file_lock_operations nfs4_fl_lock_ops = {
.fl_copy_lock = nfs4_fl_copy_lock,
.fl_release_private = nfs4_fl_release_lock,
};