diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2009-02-20 00:55:13 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-03-27 14:44:00 -0400 |
| commit | e16404ed0f3f330dc3e99b95cef69bb60bcd27f7 (patch) | |
| tree | e60bf730a9a34ae3139ced51cdc9cbd90562fb24 /fs/sysv | |
| parent | f786aa90e026f2174bb0c26d49f338c5c46ede55 (diff) | |
constify dentry_operations: misc filesystems
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/sysv')
| -rw-r--r-- | fs/sysv/namei.c | 2 | ||||
| -rw-r--r-- | fs/sysv/sysv.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysv/namei.c b/fs/sysv/namei.c index a1f1ef33e81c..33e047b59b8d 100644 --- a/fs/sysv/namei.c +++ b/fs/sysv/namei.c | |||
| @@ -38,7 +38,7 @@ static int sysv_hash(struct dentry *dentry, struct qstr *qstr) | |||
| 38 | return 0; | 38 | return 0; |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | struct dentry_operations sysv_dentry_operations = { | 41 | const struct dentry_operations sysv_dentry_operations = { |
| 42 | .d_hash = sysv_hash, | 42 | .d_hash = sysv_hash, |
| 43 | }; | 43 | }; |
| 44 | 44 | ||
diff --git a/fs/sysv/sysv.h b/fs/sysv/sysv.h index 38ebe3f85b3d..5784a318c883 100644 --- a/fs/sysv/sysv.h +++ b/fs/sysv/sysv.h | |||
| @@ -170,7 +170,7 @@ extern const struct file_operations sysv_file_operations; | |||
| 170 | extern const struct file_operations sysv_dir_operations; | 170 | extern const struct file_operations sysv_dir_operations; |
| 171 | extern const struct address_space_operations sysv_aops; | 171 | extern const struct address_space_operations sysv_aops; |
| 172 | extern const struct super_operations sysv_sops; | 172 | extern const struct super_operations sysv_sops; |
| 173 | extern struct dentry_operations sysv_dentry_operations; | 173 | extern const struct dentry_operations sysv_dentry_operations; |
| 174 | 174 | ||
| 175 | 175 | ||
| 176 | enum { | 176 | enum { |
