Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f3fc107 authored by Al Viro's avatar Al Viro
Browse files

orangefs: constify inode_operations



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 90090ae6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -294,7 +294,7 @@ int orangefs_permission(struct inode *inode, int mask)
}

/* ORANGEDS2 implementation of VFS inode operations for files */
struct inode_operations orangefs_file_inode_operations = {
const struct inode_operations orangefs_file_inode_operations = {
	.get_acl = orangefs_get_acl,
	.set_acl = orangefs_set_acl,
	.setattr = orangefs_setattr,
+1 −1
Original line number Diff line number Diff line
@@ -438,7 +438,7 @@ static int orangefs_rename(struct inode *old_dir,
}

/* ORANGEFS implementation of VFS inode operations for directories */
struct inode_operations orangefs_dir_inode_operations = {
const struct inode_operations orangefs_dir_inode_operations = {
	.lookup = orangefs_lookup,
	.get_acl = orangefs_get_acl,
	.set_acl = orangefs_set_acl,
+3 −3
Original line number Diff line number Diff line
@@ -570,10 +570,10 @@ extern int hash_table_size;

extern const struct address_space_operations orangefs_address_operations;
extern struct backing_dev_info orangefs_backing_dev_info;
extern struct inode_operations orangefs_file_inode_operations;
extern const struct inode_operations orangefs_file_inode_operations;
extern const struct file_operations orangefs_file_operations;
extern struct inode_operations orangefs_symlink_inode_operations;
extern struct inode_operations orangefs_dir_inode_operations;
extern const struct inode_operations orangefs_symlink_inode_operations;
extern const struct inode_operations orangefs_dir_inode_operations;
extern const struct file_operations orangefs_dir_operations;
extern const struct dentry_operations orangefs_dentry_operations;
extern const struct file_operations orangefs_devreq_file_operations;
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
#include "orangefs-kernel.h"
#include "orangefs-bufmap.h"

struct inode_operations orangefs_symlink_inode_operations = {
const struct inode_operations orangefs_symlink_inode_operations = {
	.readlink = generic_readlink,
	.get_link = simple_get_link,
	.setattr = orangefs_setattr,