[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: how often to 'fsck -D' ?



* Stephen C. Tweedie <sct redhat com>:
 
> Ted posted 2.4 patches a while back, and I've got a set of ext3 patches
> including those plus a few bug-fixes and other stuff, available at
> 
> 	http://people.redhat.com/sct/patches/ext3-2.4/
> 
> In particular,
> 
> 	http://people.redhat.com/sct/patches/ext3-2.4/dev-20021115/2.4.20-rc1.allpatches.patch

This one fails to apply agains 2.4.20:

patching file fs/ext2/ialloc.c
Hunk #6 FAILED at 529.
1 out of 7 hunks FAILED -- saving rejects to file fs/ext2/ialloc.c.rej

***************
*** 385,391 ****
        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;
-       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);
--- 529,535 ----
        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;
+       inode->u.ext2_i.i_state = EXT2_STATE_NEW;
        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);

-- 
Ralf Hildebrandt (Im Auftrag des Referat V a)   Ralf Hildebrandt charite de
Charite Campus Mitte                            Tel.  +49 (0)30-450 570-155
Referat V a - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
Why you can't find your system administrators:
has gone to visit (the same luser) to explain in words of one syllable why NetBEUI is a BAD THING to run over the campus network 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]