Displaying 1 result from an estimated 1 matches for "ext2_has_inline_data".
2013 Mar 02
0
[GIT-PULL] ext4 inline data support
...ndirect.
@@ -203,7 +203,6 @@ block_t ext2_bmap(struct inode *inode, block_t block, size_t *nblocks)
return ret;
}
-
/*
* Next extent for getfssec
*/
@@ -215,6 +214,8 @@ int ext2_next_extent(struct inode *inode, uint32_t lstart)
block_t block;
size_t nblocks = 0;
+ assert(ext2_has_inline_data(inode) == 0);
+
block = ext2_bmap(inode, lstart >> blktosec, &nblocks);
if (!block)
diff --git a/core/fs/ext2/ext2.c b/core/fs/ext2/ext2.c
index 7988faa..9498480 100644
--- a/core/fs/ext2/ext2.c
+++ b/core/fs/ext2/ext2.c
@@ -5,6 +5,7 @@
#include <minmax.h>
#include &qu...