Whamcloud - gitweb
Update htree patch to apply to the RH kernel. To keep it usable on
authoradilger <adilger>
Mon, 23 Sep 2002 23:44:13 +0000 (23:44 +0000)
committeradilger <adilger>
Mon, 23 Sep 2002 23:44:13 +0000 (23:44 +0000)
other kernels (since this change is not yet even in 2.4.20-pre7) we should
have a separate pre-patch which does only the RH fixes themselves to a
stock kernel.

lustre/extN/htree-ext3-2.4.18.diff

index 0b13667..936ff8f 100644 (file)
 -                       */
 -                      dir->i_mtime = dir->i_ctime = CURRENT_TIME;
 -                      dir->u.ext3_i.i_flags &= ~EXT3_INDEX_FL;
--                      ext3_mark_inode_dirty(handle, dir);
 -                      dir->i_version = ++event;
+-                      ext3_mark_inode_dirty(handle, dir);
 -                      BUFFER_TRACE(bh, "call ext3_journal_dirty_metadata");
 -                      ext3_journal_dirty_metadata(handle, bh);
 +                      nlen = EXT3_DIR_REC_LEN(de->name_len);