search for: ext3_i

Displaying 8 results from an estimated 8 matches for "ext3_i".

Did you mean: ext2_i
2001 Mar 28
1
Ext3 and LFS - possible? fatal?
Has anyone tried LFS (ie >2G files support) and Ext3 together? Are there good reasons why this should/should not work? I see the RH enterprise kernel patch set specifically does not attempt both lfs and ext3, but the lfs patches themselves touch some reasonably localised parts of ext2, so I would hope (without having dived in there to test), that the ext3 changes would mirror that
2001 Jul 07
2
Bad unaligned kernel access with ext3 0.8.0
...a0,752(t0) fffffc0000883f78: 08 a1 7d a7 ldq t12,-24312(gp) [...] The ldl_l .... stl_c sequence can be identified as test_and_clear_bit() on alpha. So the faulting instruction is this line of fs/ext3/inode.c::ext3_bmap() : if (test_and_clear_bit(EXT3_STATE_JDATA, &inode->u.ext3_i.i_state)) In fact ext3_i.i_state is a 16 bit aligned 16 bit value while test_and_clear_bit() expects to work on aligned 32 bit quantities. Furthermore the unaligned trap handler doesn't know how to handle the ldl_l. How to fix it? Weird side note: ext3 0.0.7 on kernel 2.4.5-ac22 worked with...
2005 Jul 20
0
ext3 nodump attribute inheritance
...-orig/fs/ext3/ialloc.c 2004-08-14 07:36:58.000000000 +0200 +++ kernel-source-2.6.8/fs/ext3/ialloc.c 2005-07-19 11:20:36.000000000 +0200 @@ -566,9 +566,9 @@ ei->i_next_alloc_goal = 0; ei->i_dir_start_lookup = 0; ei->i_disksize = 0; - ei->i_flags = EXT3_I(dir)->i_flags & ~EXT3_INDEX_FL; + ei->i_flags = EXT3_I(dir)->i_flags & ~(EXT3_INDEX_FL | EXT3_NODUMP_FL); if (S_ISLNK(mode)) ei->i_flags &= ~(EXT3_IMMUTABLE_FL|EXT3_APPEND_FL); /* dirsync only applies to directories */ if (!S_ISD...
2005 Jan 06
0
[2.6 patch] fs/ext3/: possible cleanups
...- return -EROFS; - if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) - return -EPERM; - if (value == NULL) - value_len = 0; - if (name == NULL) - return -EINVAL; - name_len = strlen(name); - if (name_len > 255 || value_len > inode->i_sb->s_blocksize) - return -ERANGE; - down_write(&EXT3_I(inode)->xattr_sem); - -#define EX_FOUND_IN_IBODY 1 -#define EX_FOUND_IN_BLOCK 2 - - /* try to find attribute in inode body */ - err = ext3_xattr_ibody_find(inode, name_index, name, &free1); - if (err == 0) { - /* found EA in inode */ - where = EX_FOUND_IN_IBODY; - } else if (err == -ENOENT...
2005 Jun 20
0
[patch 3/3] Fix misleading gcc4 warning, size may be used uninitialized (ext3)
An embedded and charset-unspecified text was scrubbed... Name: gcc4-fs_ext3_acl.c URL: <http://listman.redhat.com/archives/ext3-users/attachments/20050620/80eb5460/attachment.c>
2002 Dec 15
0
[patch] ext3 use-after-free bugfix
...t inode * di if (!IS_ERR(inode)) { init_special_inode(inode, mode, rdev); err = ext3_add_nondir(handle, dentry, inode); - ext3_mark_inode_dirty(handle, inode); } ext3_journal_stop(handle, dir); return err; @@ -934,7 +935,6 @@ static int ext3_symlink (struct inode * } inode->u.ext3_i.i_disksize = inode->i_size; err = ext3_add_nondir(handle, dentry, inode); - ext3_mark_inode_dirty(handle, inode); out_stop: ext3_journal_stop(handle, dir); return err; @@ -971,7 +971,6 @@ static int ext3_link (struct dentry * ol atomic_inc(&inode->i_count); err = ext3_add_non...
2005 Dec 01
0
Errors reported by Coverity in ext3.
...er: CHECKED_RETURN File: fs/ext3/namei.c Function: ext3_append Description: Return value of "__ext3_journal_get_write_access" is not checked 58 if ((bh = ext3_bread(handle, inode, *block, 1, err))) { 59 inode->i_size += inode->i_sb->s_blocksize; 60 EXT3_I(inode)->i_disksize = inode->i_size; Event check_return: Called function "__ext3_journal_get_write_access" whose return value should be checked (checked 32 out of 39 times) Event unchecked_value: Return value of "__ext3_journal_get_write_access" is not checked...
2003 Jan 16
0
[PATCH] Using qstr in ext3_get_parent()
...nsigned blocksize; @@ -776,13 +774,13 @@ *res_dir = NULL; sb = dir->i_sb; blocksize = sb->s_blocksize; - namelen = dentry->d_name.len; - name = dentry->d_name.name; + namelen = entry->len; + name = entry->name; if (namelen > EXT3_NAME_LEN) return NULL; #ifdef CONFIG_EXT3_INDEX if (is_dx(dir)) { - bh = ext3_dx_find_entry(dentry, res_dir, &err); + bh = ext3_dx_find_entry(dir, entry, res_dir, &err); /* * On success, or if the error was file not found, * return. Otherwise, fall back to doing a search the @@ -832,7 +830,7 @@ brelse(bh); got...