|
@@ -302,7 +302,7 @@ struct logfs_block {
|
|
struct inode *inode;
|
|
struct inode *inode;
|
|
struct logfs_transaction *ta;
|
|
struct logfs_transaction *ta;
|
|
unsigned long alias_map[LOGFS_BLOCK_FACTOR / BITS_PER_LONG];
|
|
unsigned long alias_map[LOGFS_BLOCK_FACTOR / BITS_PER_LONG];
|
|
- struct logfs_block_ops *ops;
|
|
|
|
|
|
+ const struct logfs_block_ops *ops;
|
|
int full;
|
|
int full;
|
|
int partial;
|
|
int partial;
|
|
int reserved_bytes;
|
|
int reserved_bytes;
|
|
@@ -579,7 +579,7 @@ int logfs_exist_block(struct inode *inode, u64 bix);
|
|
int get_page_reserve(struct inode *inode, struct page *page);
|
|
int get_page_reserve(struct inode *inode, struct page *page);
|
|
void logfs_get_wblocks(struct super_block *sb, struct page *page, int lock);
|
|
void logfs_get_wblocks(struct super_block *sb, struct page *page, int lock);
|
|
void logfs_put_wblocks(struct super_block *sb, struct page *page, int lock);
|
|
void logfs_put_wblocks(struct super_block *sb, struct page *page, int lock);
|
|
-extern struct logfs_block_ops indirect_block_ops;
|
|
|
|
|
|
+extern const struct logfs_block_ops indirect_block_ops;
|
|
|
|
|
|
/* segment.c */
|
|
/* segment.c */
|
|
int logfs_erase_segment(struct super_block *sb, u32 ofs, int ensure_erase);
|
|
int logfs_erase_segment(struct super_block *sb, u32 ofs, int ensure_erase);
|