Whamcloud - gitweb
htree patch fix for the head.
authoradilger <adilger>
Thu, 20 Jun 2002 17:16:52 +0000 (17:16 +0000)
committeradilger <adilger>
Thu, 20 Jun 2002 17:16:52 +0000 (17:16 +0000)
lustre/extN/htree-ext3-2.4.18.diff

index 0579601..edfcec2 100644 (file)
 +
 +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)