Displaying 2 results from an estimated 2 matches for "target_blk".
2006 Jun 12
0
Some questions about function usage
....
1.
In info libext2fs:
Function: errcode_t ext2fs_get_blocks (ext2_filsys FS, ext2_ino_t
INO, blk_t *BLOCKS)
Returns an array of blocks corresponding to the direct, indirect,
doubly indirect, and triply indirect blocks as stored in the inode
structure.
So I wrote some codes like following:
blk_t target_blks[EXT_N_BLOCKS];
retval = ext2fs_get_blocks(fs, ino, target_blks);
printf("[percentage]u [percentage]u [percentage]u",
*target_blks, target_blks[1], target_blks[2]);
P.S. [percentage] is "shift+5"
The output of printf is strange.
*target_blks is the actul block number of the fi...
2008 Dec 22
56
[git patches] Ocfs2 patches for merge window, batch 2/3
Hi,
This is the second batch of Ocfs2 patches intended for the merge window. The
1st batch were sent out previously:
http://lkml.org/lkml/2008/12/19/280
The bulk of this set is comprised of Jan Kara's patches to add quota support
to Ocfs2. Many of the quota patches are to generic code, which I carried to
make merging of the Ocfs2 support easier. All of the non-ocfs2 patches
should have