mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
constify dentry_operations: FUSE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
d72f71eb0e
commit
4269590a72
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue