search for: ext3_group_desc

Displaying 3 results from an estimated 3 matches for "ext3_group_desc".

Did you mean: ext2_group_desc
2008 Feb 01
2
How to read group descriptor?
...#include<fcntl.h> #include<stdlib.h> #include<string.h> #define block_size 4096 #define boot_block_size 1024 int main() { char *buff = (char *)malloc(block_size); struct ext3_super_block * sblock = (struct ext3_super_block *)malloc(sizeof(struct ext3_super_block)); struct ext3_group_desc * gdesc = (struct ext3_group_desc *)malloc(sizeof(struct ext3_group_desc)); int fd = open("/dev/hda3",O_RDONLY); lseek(fd,boot_block_size,SEEK_CUR); //skip the boot block read(fd,buff,block_size); //read superblock,we read one block(4096 bytes)here memcpy((void *)sblock,(void...
2002 Apr 02
0
[patch] fix ext3 i_blocks accounting
...ext3-i_blocks Tue Apr 2 13:12:34 2002 +++ 2.4.19-pre5-akpm/fs/ext3/balloc.c Tue Apr 2 13:15:03 2002 @@ -542,6 +542,7 @@ int ext3_new_block (handle_t *handle, st int i, j, k, tmp, alloctmp; int bitmap_nr; int fatal = 0, err; + int performed_allocation = 0; struct super_block * sb; struct ext3_group_desc * gdp; struct ext3_super_block * es; @@ -644,8 +645,7 @@ int ext3_new_block (handle_t *handle, st } /* No space left on the device */ - unlock_super (sb); - return 0; + goto out; search_back: /* @@ -694,6 +694,7 @@ got_block: J_ASSERT_BH(bh, !ext3_test_bit(j, bh->b_data)); BUFF...
2005 Oct 31
2
What is the history of CONFIG_EXT{2,3}_CHECK?
Can anyone tell me the history of CONFIG_EXT{2,3}_CHECK? There is code for a "check" option for mount if these options are enabled, but there's no way to enable them. TIA Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said.