From e41ecab3c49899c6aa906e8ba62043d07a4a519e Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 20 Jun 2002 17:16:52 +0000 Subject: [PATCH] htree patch fix for the head. --- lustre/extN/htree-ext3-2.4.18.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/extN/htree-ext3-2.4.18.diff b/lustre/extN/htree-ext3-2.4.18.diff index 0579601..edfcec2 100644 --- a/lustre/extN/htree-ext3-2.4.18.diff +++ b/lustre/extN/htree-ext3-2.4.18.diff @@ -197,7 +197,7 @@ + +static inline unsigned dx_get_block (struct dx_entry *entry) +{ -+ return le32_to_cpu(entry->block.v) & 0x0fffffff; ++ return le32_to_cpu(entry->block.v) & 0x00ffffff; +} + +static inline void dx_set_block (struct dx_entry *entry, unsigned value) -- 1.8.3.1