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/sysv | |
parent | f786aa90e026f2174bb0c26d49f338c5c46ede55 (diff) | |
download | linux-3.10-e16404ed0f3f330dc3e99b95cef69bb60bcd27f7.tar.gz linux-3.10-e16404ed0f3f330dc3e99b95cef69bb60bcd27f7.tar.bz2 linux-3.10-e16404ed0f3f330dc3e99b95cef69bb60bcd27f7.zip |
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 a1f1ef33e81..33e047b59b8 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) return 0; } -struct dentry_operations sysv_dentry_operations = { +const struct dentry_operations sysv_dentry_operations = { .d_hash = sysv_hash, }; diff --git a/fs/sysv/sysv.h b/fs/sysv/sysv.h index 38ebe3f85b3..5784a318c88 100644 --- a/fs/sysv/sysv.h +++ b/fs/sysv/sysv.h @@ -170,7 +170,7 @@ extern const struct file_operations sysv_file_operations; extern const struct file_operations sysv_dir_operations; extern const struct address_space_operations sysv_aops; extern const struct super_operations sysv_sops; -extern struct dentry_operations sysv_dentry_operations; +extern const struct dentry_operations sysv_dentry_operations; enum { |