]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/nilfs2/the_nilfs.h
nilfs2: implement resize ioctl
[karo-tx-linux.git] / fs / nilfs2 / the_nilfs.h
index f4968145c2a3ee22bdbff5fb7d4e2dd40f6fd392..9992b11312ff5918b9509eabfdb0cab1ecbecd94 100644 (file)
@@ -268,6 +268,8 @@ struct the_nilfs *alloc_nilfs(struct block_device *bdev);
 void destroy_nilfs(struct the_nilfs *nilfs);
 int init_nilfs(struct the_nilfs *nilfs, struct super_block *sb, char *data);
 int load_nilfs(struct the_nilfs *nilfs, struct super_block *sb);
+unsigned long nilfs_nrsvsegs(struct the_nilfs *nilfs, unsigned long nsegs);
+void nilfs_set_nsegments(struct the_nilfs *nilfs, unsigned long nsegs);
 int nilfs_discard_segments(struct the_nilfs *, __u64 *, size_t);
 int nilfs_count_free_blocks(struct the_nilfs *, sector_t *);
 struct nilfs_root *nilfs_lookup_root(struct the_nilfs *nilfs, __u64 cno);