mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BK] [2.5] reiserfs changeset 1 of 15 for 2.5.21
@ 2002-06-10 13:42 Hans Reiser
  2002-06-10 16:29 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Reiser @ 2002-06-10 13:42 UTC (permalink / raw)
  To: torvalds, linux-kernel, reiserfs-dev

This is a changeset 1 out of 15.

You can pull it from bk://namesys.com/bk/reiser3-linux-2.5
Or use plain text patch at the end of this message.

   It fixes reiserfs tail and direntry alignment bug on filesystems converted
   from 3.5.x to 3.6.x.

Chris Mason spent a lot of efforts in helping to convert this changeset to
Linus-compatible form.

Diffstat:
 namei.c           |    2 +-
 tail_conversion.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Plaintext patch:
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.594   -> 1.595  
#	 fs/reiserfs/namei.c	1.36    -> 1.37   
#	fs/reiserfs/tail_conversion.c	1.21    -> 1.22   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/05/30	green@angband.namesys.com	1.595
# tail_conversion.c, namei.c:
#   fix reiserfs tail and direntry alignment bug on filesystems converted from 3.5.x to 3.6.x.
# --------------------------------------------
#
diff -Nru a/fs/reiserfs/namei.c b/fs/reiserfs/namei.c
--- a/fs/reiserfs/namei.c	Thu May 30 18:42:15 2002
+++ b/fs/reiserfs/namei.c	Thu May 30 18:42:15 2002
@@ -463,7 +463,7 @@
     } else
 	buffer = small_buf;
 
-    paste_size = (old_format_only (dir->i_sb)) ? (DEH_SIZE + namelen) : buflen;
+    paste_size = (get_inode_sd_version (dir) == STAT_DATA_V1) ? (DEH_SIZE + namelen) : buflen;
 
     /* fill buffer : directory entry head, name[, dir objectid | , stat data | ,stat data, dir objectid ] */
     deh = (struct reiserfs_de_head *)buffer;
diff -Nru a/fs/reiserfs/tail_conversion.c b/fs/reiserfs/tail_conversion.c
--- a/fs/reiserfs/tail_conversion.c	Thu May 30 18:42:15 2002
+++ b/fs/reiserfs/tail_conversion.c	Thu May 30 18:42:15 2002
@@ -214,7 +214,7 @@
     copy_item_head (&s_ih, PATH_PITEM_HEAD(p_s_path));
 
     tail_len = (n_new_file_size & (n_block_size - 1));
-    if (!old_format_only (p_s_sb))
+    if (get_inode_sd_version (p_s_inode) == STAT_DATA_V2)
 	round_tail_len = ROUND_UP (tail_len);
     else
 	round_tail_len = tail_len;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BK] [2.5] reiserfs changeset 1 of 15 for 2.5.21
  2002-06-10 13:42 [BK] [2.5] reiserfs changeset 1 of 15 for 2.5.21 Hans Reiser
@ 2002-06-10 16:29 ` Linus Torvalds
  2002-06-10 16:38   ` [reiserfs-dev] " Oleg Drokin
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Torvalds @ 2002-06-10 16:29 UTC (permalink / raw)
  To: Hans Reiser; +Cc: linux-kernel, reiserfs-dev



On Mon, 10 Jun 2002, Hans Reiser wrote:
>
> You can pull it from bk://namesys.com/bk/reiser3-linux-2.5

	ERROR-Lock fail: possible permission problem.

Please do "bk sane" on your repository.

		Linus


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [reiserfs-dev] Re: [BK] [2.5] reiserfs changeset 1 of 15 for 2.5.21
  2002-06-10 16:29 ` Linus Torvalds
@ 2002-06-10 16:38   ` Oleg Drokin
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg Drokin @ 2002-06-10 16:38 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Hans Reiser, linux-kernel, reiserfs-dev

Hello!

On Mon, Jun 10, 2002 at 09:29:09AM -0700, Linus Torvalds wrote:

> > You can pull it from bk://namesys.com/bk/reiser3-linux-2.5
> 	ERROR-Lock fail: possible permission problem.
> Please do "bk sane" on your repository.

Done.
Sorry for confusion

Bye,
    Oleg

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-10 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-10 13:42 [BK] [2.5] reiserfs changeset 1 of 15 for 2.5.21 Hans Reiser
2002-06-10 16:29 ` Linus Torvalds
2002-06-10 16:38   ` [reiserfs-dev] " Oleg Drokin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®