Displaying 3 results from an estimated 3 matches for "ext2_i".
2001 Mar 23
0
[linux-lvm] EXT2-fs panic (device lvm(58,0)):
...432,16 +416,13 @@
inode->i_blksize = PAGE_SIZE; /* This is the optimal IO size (for stat), not the fs block size */
inode->i_blocks = 0;
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME;
+ /* The inode->u struct is zeroed for us by new_inode() */
inode->u.ext2_i.i_new_inode = 1;
inode->u.ext2_i.i_flags = dir->u.ext2_i.i_flags;
if (S_ISLNK(mode))
inode->u.ext2_i.i_flags &= ~(EXT2_IMMUTABLE_FL | EXT2_APPEND_FL);
- inode->u.ext2_i.i_faddr = 0;
- inode->u.ext2_i.i_frag_no = 0;
- inode->u.ext2_i.i_frag_size = 0;
- inode->u.ext2_i...
2002 Mar 28
2
Patches for rsync.mbox
...may require authentication.
If so then you will receive a password prompt when you con-
***************
*** 85508,85514 ****
If the symlink is longer, data blocks are allocated as on classic
Unix.
! From linux-2.4.16/fs/ext2/namei.c:ext2_symlink:
if (l > sizeof (inode->u.ext2_i.i_data)) {
/* slow symlink */
--- 85508,85514 ----
If the symlink is longer, data blocks are allocated as on classic
Unix.
! > From linux-2.4.16/fs/ext2/namei.c:ext2_symlink:
if (l > sizeof (inode->u.ext2_i.i_data)) {
/* slow symlink */
***************
*** 85829,85835...
2001 Aug 20
1
[tytso@mit.edu: Re: Your ext2 optimisation for readdir+stat]
...unsigned reclen = EXT2_DIR_REC_LEN(namelen);
- unsigned long n;
+ unsigned long start, n;
unsigned long npages = dir_pages(dir);
struct page *page = NULL;
ext2_dirent * de;
@@ -311,7 +311,11 @@
/* OFFSET_CACHE */
*res_page = NULL;
- for (n = 0; n < npages; n++) {
+ start = dir->u.ext2_i.i_dir_start_lookup;
+ if (start >= npages)
+ start = 0;
+ n = start;
+ do {
char *kaddr;
page = ext2_get_page(dir, n);
if (IS_ERR(page))
@@ -324,11 +328,14 @@
if (ext2_match (namelen, name, de))
goto found;
ext2_put_page(page);
- }
+ if (++n >= npages)
+ n = 0;
+ } wh...