The EA inodes are not linked into any directory since a single directory per filesystem will cause a bottleneck. Instead a "goal" argument has been added to the ext4_new_inode() function to help a localized selection of the EA inode. Since ext4_new_inode() only used the dir argument to choose the group, we use goal argument to do the same. Signed-off-by: Andreas Dilger Signed-off-by: Kalpak Shah ext4.h | 3 ++- ialloc.c | 45 +++++++++++++++++++++++++++++++++++++++++++-- migrate.c | 5 ++--- namei.c | 8 ++++---- 4 files changed, 51 insertions(+), 10 deletions(-) Thanks, Kalpak.