diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-02-20 05:55:13 +0000 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-03-27 14:44:00 -0400 |
commit | e16404ed0f3f330dc3e99b95cef69bb60bcd27f7 (patch) | |
tree | e60bf730a9a34ae3139ced51cdc9cbd90562fb24 /fs/smbfs | |
parent | f786aa90e026f2174bb0c26d49f338c5c46ede55 (diff) | |
download | linux-e16404ed0f3f330dc3e99b95cef69bb60bcd27f7.tar.bz2 |
constify dentry_operations: misc filesystems
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/smbfs')
-rw-r--r-- | fs/smbfs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/smbfs/dir.c b/fs/smbfs/dir.c index e7ddd0328ddc..3e4803b4427e 100644 --- a/fs/smbfs/dir.c +++ b/fs/smbfs/dir.c @@ -277,7 +277,7 @@ static int smb_hash_dentry(struct dentry *, struct qstr *); static int smb_compare_dentry(struct dentry *, struct qstr *, struct qstr *); static int smb_delete_dentry(struct dentry *); -static struct dentry_operations smbfs_dentry_operations = +static const struct dentry_operations smbfs_dentry_operations = { .d_revalidate = smb_lookup_validate, .d_hash = smb_hash_dentry, @@ -285,7 +285,7 @@ static struct dentry_operations smbfs_dentry_operations = .d_delete = smb_delete_dentry, }; -static struct dentry_operations smbfs_dentry_operations_case = +static const struct dentry_operations smbfs_dentry_operations_case = { .d_revalidate = smb_lookup_validate, .d_delete = smb_delete_dentry, |