MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2SaveGroup

Function Ext2SaveGroup

Ext4Fsd/ext3/generic.c:382–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380
381
382BOOLEAN
383Ext2SaveGroup(
384 IN PEXT2_IRP_CONTEXT IrpContext,
385 IN PEXT2_VCB Vcb,
386 IN ULONG Group
387)
388{
389 struct ext4_group_desc *gd;
390 struct buffer_head *gb = NULL;
391 unsigned long i;
392
393 gd = ext4_get_group_desc(&Vcb->sb, Group, &gb);
394 if (!gd)
395 return 0;
396
397 ext4_group_desc_csum_set(&Vcb->sb, Group, gd);
398 mark_buffer_dirty(gb);
399 fini_bh(&gb);
400
401 return TRUE;
402}
403
404
405BOOLEAN

Callers 5

Ext2NewBlockFunction · 0.85
Ext2FreeBlockFunction · 0.85
Ext2NewInodeFunction · 0.85
Ext2UpdateGroupDirStatFunction · 0.85
Ext2FreeInodeFunction · 0.85

Calls 4

ext4_get_group_descFunction · 0.85
ext4_group_desc_csum_setFunction · 0.85
mark_buffer_dirtyFunction · 0.85
fini_bhFunction · 0.85

Tested by

no test coverage detected