Whamcloud - gitweb
b=21188
authorpravins <pravins>
Tue, 17 Nov 2009 21:59:20 +0000 (21:59 +0000)
committerpravins <pravins>
Tue, 17 Nov 2009 21:59:20 +0000 (21:59 +0000)
i=johann
i=girish
fix typo.

ldiskfs/kernel_patches/patches/ext3_data_in_dirent.patch

index 485aaec..871b441 100644 (file)
@@ -62,7 +62,7 @@ Index: b/fs/ext3/namei.c
  static inline unsigned dx_node_limit (struct inode *dir)
  {
 -      unsigned entry_space = dir->i_sb->s_blocksize - EXT3_DIR_REC_LEN(0);
  static inline unsigned dx_node_limit (struct inode *dir)
  {
 -      unsigned entry_space = dir->i_sb->s_blocksize - EXT3_DIR_REC_LEN(0);
-+      unsigned entry_space = dir->i_sb->s_blocksize - __EXT3_DIR_REC_LEN(1);
++      unsigned entry_space = dir->i_sb->s_blocksize - __EXT3_DIR_REC_LEN(0);
        return 0? 22: entry_space / sizeof(struct dx_entry);
  }
  
        return 0? 22: entry_space / sizeof(struct dx_entry);
  }