]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ext4: remove duplicate call to ext4_bread() in ext4_init_new_dir()
authorGuo Chao <yan@linux.vnet.ibm.com>
Mon, 7 Jan 2013 04:40:25 +0000 (23:40 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Jan 2013 04:40:25 +0000 (23:40 -0500)
commitfef0ebdb229bedce888b63923e2a1ba4e6c6a84c
treebff420c9a7e6b614a1ed83f22157475b885b421c
parent0ecaef0644973e9006fdbc6974301047aaff9bc6
ext4: remove duplicate call to ext4_bread() in ext4_init_new_dir()

This fixes a buffer cache leak when creating a directory, introduced
in commit a774f9c20.

Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Tao Ma <boyu.mt@taobao.com>
fs/ext4/namei.c