On 2016/5/11 5:41, Jaegeuk Kim wrote:
> +
> + f2fs_wait_on_page_writeback(dn->node_page, NODE, true);
> +
> + for (; count > 0; dn->ofs_in_node++) {
> + block_t blkaddr =
> + datablock_addr(dn->node_page, dn->ofs_in_node);
> + if (blkaddr == NULL_ADDR) {
> + dn->data_blkaddr = NEW_ADDR;
> + __set_data_blkaddr(dn);
> + count--;
> + }
> + }
Should let ofs_in_node increase to offset where blkaddr = NULL_ADDR in
ENOSPC case or increase to end_offset in normal case, right?
Thanks,
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel