ext4: make ext4_delete_entry generic
authorTao Ma <boyu.mt@taobao.com>
Mon, 10 Dec 2012 19:06:00 +0000 (14:06 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Dec 2012 19:06:00 +0000 (14:06 -0500)
commit05019a9e7f025133f20c67677c9c8551eca3c6dc
tree0e1b3ab69fbc3a657c488c09bf5683d631c260df
parente8e948e7802a2ab05c146d3e72a39b93b5718236
ext4: make ext4_delete_entry generic

Currently ext4_delete_entry() is used only for dir entry removing from
a dir block.  So let us create a new function
ext4_generic_delete_entry and this function takes a entry_buf and a
buf_size so that it can be used for inline data.

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