forked from luck/tmp_suning_uos_patched
constify dentry_operations: FUSE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
d72f71eb0e
commit
4269590a72
|
@ -224,7 +224,7 @@ static int invalid_nodeid(u64 nodeid)
|
|||
return !nodeid || nodeid == FUSE_ROOT_ID;
|
||||
}
|
||||
|
||||
struct dentry_operations fuse_dentry_operations = {
|
||||
const struct dentry_operations fuse_dentry_operations = {
|
||||
.d_revalidate = fuse_dentry_revalidate,
|
||||
};
|
||||
|
||||
|
|
|
@ -493,7 +493,7 @@ static inline u64 get_node_id(struct inode *inode)
|
|||
/** Device operations */
|
||||
extern const struct file_operations fuse_dev_operations;
|
||||
|
||||
extern struct dentry_operations fuse_dentry_operations;
|
||||
extern const struct dentry_operations fuse_dentry_operations;
|
||||
|
||||
/**
|
||||
* Get a filled in inode
|
||||
|
|
Loading…
Reference in New Issue
Block a user