diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-02-20 06:57:07 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-03-27 19:44:01 +0100 |
commit | 4fd03e84d8f4e6304cef19698a24dee84039ef01 (patch) | |
tree | c3174fbf23832afb5cf110c3362e30e6b6eedc0a /fs/cifs/dir.c | |
parent | constify dentry_operations: AFS (diff) | |
download | linux-4fd03e84d8f4e6304cef19698a24dee84039ef01.tar.xz linux-4fd03e84d8f4e6304cef19698a24dee84039ef01.zip |
constify dentry_operations: CIFS
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | fs/cifs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index 89fb72832652..43cc0fd2f8a7 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c @@ -699,7 +699,7 @@ cifs_d_revalidate(struct dentry *direntry, struct nameidata *nd) return rc; } */ -struct dentry_operations cifs_dentry_ops = { +const struct dentry_operations cifs_dentry_ops = { .d_revalidate = cifs_d_revalidate, /* d_delete: cifs_d_delete, */ /* not needed except for debugging */ }; @@ -737,7 +737,7 @@ static int cifs_ci_compare(struct dentry *dentry, struct qstr *a, return 1; } -struct dentry_operations cifs_ci_dentry_ops = { +const struct dentry_operations cifs_ci_dentry_ops = { .d_revalidate = cifs_d_revalidate, .d_hash = cifs_ci_hash, .d_compare = cifs_ci_compare, |