]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit978fef914a2e6b8ad5672d0a39f9201b7aa7c396
tree1b86969eeb25b92d1b206d9168bd4bf309537c0c
parent226ba972b0863783ad377f741f6ff0538f31ab00
ext4: create __ext4_insert_dentry for dir entry insertion

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