aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-02-20 00:57:07 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2009-03-27 14:44:01 -0400
commit4fd03e84d8f4e6304cef19698a24dee84039ef01 (patch)
treec3174fbf23832afb5cf110c3362e30e6b6eedc0a /fs/cifs/dir.c
parent79be57cc7fd25563c73ab26b0c28ff6ad0d618fc (diff)
constify dentry_operations: CIFS
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r--fs/cifs/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c
index 89fb7283265..43cc0fd2f8a 100644
--- a/fs/cifs/dir.c
+++ b/fs/cifs/dir.c
@@ -699,7 +699,7 @@ cifs_d_revalidate(struct dentry *direntry, struct nameidata *nd)
699 return rc; 699 return rc;
700} */ 700} */
701 701
702struct dentry_operations cifs_dentry_ops = { 702const struct dentry_operations cifs_dentry_ops = {
703 .d_revalidate = cifs_d_revalidate, 703 .d_revalidate = cifs_d_revalidate,
704/* d_delete: cifs_d_delete, */ /* not needed except for debugging */ 704/* d_delete: cifs_d_delete, */ /* not needed except for debugging */
705}; 705};
@@ -737,7 +737,7 @@ static int cifs_ci_compare(struct dentry *dentry, struct qstr *a,
737 return 1; 737 return 1;
738} 738}
739 739
740struct dentry_operations cifs_ci_dentry_ops = { 740const struct dentry_operations cifs_ci_dentry_ops = {
741 .d_revalidate = cifs_d_revalidate, 741 .d_revalidate = cifs_d_revalidate,
742 .d_hash = cifs_ci_hash, 742 .d_hash = cifs_ci_hash,
743 .d_compare = cifs_ci_compare, 743 .d_compare = cifs_ci_compare,