ext4: create __ext4_insert_dentry for dir entry insertion
authorTao Ma <boyu.mt@taobao.com>
Mon, 10 Dec 2012 19:05:58 +0000 (14:05 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Dec 2012 19:05:58 +0000 (14:05 -0500)
The old add_dirent_to_buf handles all the work related to the
work of adding dir entry to a dir block. Now we have inline data,
so create 2 new function __ext4_find_dest_de and __ext4_insert_dentry
that do the real work and let add_dirent_to_buf call them.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/namei.c

diff --cc fs/ext4/ext4.h
Simple merge
diff --cc fs/ext4/namei.c
Simple merge