summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorAl Viro2009-02-20 06:51:22 +0100
committerAl Viro2009-03-27 19:43:59 +0100
commitf786aa90e026f2174bb0c26d49f338c5c46ede55 (patch)
tree6b50684e5b43149cfdb8e4220a3e84b5ea71ec3f /include/linux/nfs_xdr.h
parentfs: make struct dentry->d_op const (diff)
downloadkernel-qcow2-linux-f786aa90e026f2174bb0c26d49f338c5c46ede55.tar.gz
kernel-qcow2-linux-f786aa90e026f2174bb0c26d49f338c5c46ede55.tar.xz
kernel-qcow2-linux-f786aa90e026f2174bb0c26d49f338c5c46ede55.zip
constify dentry_operations: NFS
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 2e5f00066afd..43a713fce11c 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -785,7 +785,7 @@ struct nfs_access_entry;
*/
struct nfs_rpc_ops {
u32 version; /* Protocol version */
- struct dentry_operations *dentry_ops;
+ const struct dentry_operations *dentry_ops;
const struct inode_operations *dir_inode_ops;
const struct inode_operations *file_inode_ops;