* [PATCH] ReiserFS 4 of 13, please apply all 13
@ 2002-04-10 14:19 Hans Reiser
0 siblings, 0 replies; only message in thread
From: Hans Reiser @ 2002-04-10 14:19 UTC (permalink / raw)
To: torvalds, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: [PATCH] 2.5.8-pre3 patch 4 of 13 --]
[-- Type: message/rfc822, Size: 1589 bytes --]
From: Oleg Drokin <green@namesys.com>
To: reiser@namesys.com
Subject: [PATCH] 2.5.8-pre3 patch 4 of 13
Date: Wed, 10 Apr 2002 15:21:50 +0400
Message-ID: <20020410152150.A20876@namesys.com>
This patch is to fix a case where flag was not set at inode-read time which
prevented 32bit uid/gid to work correctly.
--- linux-2.5.8-pre2/fs/reiserfs/inode.c.orig Mon Apr 8 14:08:28 2002
+++ linux-2.5.8-pre2/fs/reiserfs/inode.c Mon Apr 8 14:09:34 2002
@@ -935,9 +935,6 @@
// (directories and symlinks)
struct stat_data * sd = (struct stat_data *)B_I_PITEM (bh, ih);
- /* both old and new directories have old keys */
- //version = (S_ISDIR (sd->sd_mode) ? ITEM_VERSION_1 : ITEM_VERSION_2);
-
inode->i_mode = sd_v2_mode(sd);
inode->i_nlink = sd_v2_nlink(sd);
inode->i_uid = sd_v2_uid(sd);
@@ -958,6 +955,7 @@
else
set_inode_item_key_version (inode, KEY_FORMAT_3_6);
REISERFS_I(inode)->i_first_direct_byte = 0;
+ set_inode_sd_version (inode, STAT_DATA_V2);
}
pathrelse (path);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-10 14:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-10 14:19 [PATCH] ReiserFS 4 of 13, please apply all 13 Hans Reiser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox