linux24/fs/jfs
OSS-jfs_User <[email protected]> Thu, 9 Oct 2003 08:50:41 -0400
| Newsgroups | gmane.comp.file-systems.jfs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /usr/cvs/jfs/linux24/fs/jfs In directory swg3ws025:/tmp/cvs-serv8892/fs/jfs Modified Files: jfs_dmap.c jfs_dtree.c jfs_extent.c jfs_filsys.h jfs_imap.c jfs_metapage.c jfs_superblock.h jfs_txnmgr.c jfs_xtree.c namei.c resize.c super.c xattr.c Log Message: mproved error handing This patch replaces many assert statements, which caused a BUG(), with improved code to mark the superblock dirty and then proceed as specified by the errors= mount flag (as ext2 and ext3 do). JFS's default for the errors option is "remount-ro" in order to prevent addition data corruption when a problem is found. These asserts are usually triggered by on-disk data corruption. By marking the superblock dirty, fsck will perform a complete check on the file system and correct the problems, rather than simply replaying the journal, inviting later trouble. Submitted by Karl Rister & Dave Kleikamp