Displaying 3 results from an estimated 3 matches for "ext3_iloc".
2005 Jun 20
0
[patch 2/3] fs/ext3/resize.c: fix sparse warnings
An embedded and charset-unspecified text was scrubbed...
Name: sparse-fs_ext3_resize.patch
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20050620/8e33ffa8/attachment.ksh>
2005 Feb 15
1
[PATCH] ext3: Fix sparse -Wbitwise warnings.
...ned seven = 7;
unsigned grp;
- __u32 *p = (__u32 *)primary->b_data;
+ __le32 *p = (__le32 *)primary->b_data;
int gdbackups = 0;
while ((grp = ext3_list_backups(sb, &three, &five, &seven)) < end) {
@@ -371,7 +371,7 @@
struct buffer_head *dind;
int gdbackups;
struct ext3_iloc iloc;
- __u32 *data;
+ __le32 *data;
int err;
if (test_opt(sb, DEBUG))
@@ -408,7 +408,7 @@
goto exit_bh;
}
- data = (__u32 *)dind->b_data;
+ data = (__le32 *)dind->b_data;
if (le32_to_cpu(data[gdb_num % EXT3_ADDR_PER_BLOCK(sb)]) != gdblock) {
ext3_warning(sb, __FUNCTION__,...
2007 Feb 24
0
how to commit a directory entry to the disk in EXT3 FS
...ntry buffer to the disk
i have intialised the values of struct ext3_dir_entry_2 *de and now
want to commit it to the disk in the function
EXT3 FS----linux 2.6.18 ----fs/ext3/inode.c
static int ext3_do_update_inode(handle_t *handle,
struct inode *inode,
struct ext3_iloc *iloc)
{
--------------- raw inode updation------------------
dentry=list_entry(inode->identry.next,struct dentry,d_alias);
bh1=ext3_find_entry(dentry,&de1);
-----please tell me how to commit the de1 to the disk data structures after
this point----------
}
-------------- next part -------...