diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-21 17:01:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 07:17:24 -0700 |
commit | 6e1d5dcc2bbbe71dbf010c747e15739bef6b7218 (patch) | |
tree | 2edb0f6cc65acbae95e42df1bc763ec048e6c2e0 /fs/cifs | |
parent | 7f09410bbc4306f592cfb43812389ea1c7905a20 (diff) | |
download | linux-3.10-6e1d5dcc2bbbe71dbf010c747e15739bef6b7218.tar.gz linux-3.10-6e1d5dcc2bbbe71dbf010c747e15739bef6b7218.tar.bz2 linux-3.10-6e1d5dcc2bbbe71dbf010c747e15739bef6b7218.zip |
const: mark remaining inode_operations as 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/cifs')
-rw-r--r-- | fs/cifs/cifs_dfs_ref.c | 2 | ||||
-rw-r--r-- | fs/cifs/cifsfs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifs_dfs_ref.c b/fs/cifs/cifs_dfs_ref.c index 606912d8f2a..6889c0d07b8 100644 --- a/fs/cifs/cifs_dfs_ref.c +++ b/fs/cifs/cifs_dfs_ref.c @@ -385,7 +385,7 @@ out_err: goto out; } -struct inode_operations cifs_dfs_referral_inode_operations = { +const struct inode_operations cifs_dfs_referral_inode_operations = { .follow_link = cifs_dfs_follow_mountpoint, }; diff --git a/fs/cifs/cifsfs.h b/fs/cifs/cifsfs.h index 094325e3f71..ac2b24c192f 100644 --- a/fs/cifs/cifsfs.h +++ b/fs/cifs/cifsfs.h @@ -67,7 +67,7 @@ extern int cifs_setattr(struct dentry *, struct iattr *); extern const struct inode_operations cifs_file_inode_ops; extern const struct inode_operations cifs_symlink_inode_ops; -extern struct inode_operations cifs_dfs_referral_inode_operations; +extern const struct inode_operations cifs_dfs_referral_inode_operations; /* Functions related to files and directories */ |