]> git.baikalelectronics.ru Git - kernel.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)
commit62be2ff1506d6217a97e76f4f14b3bca09f4824b
treebff420c9a7e6b614a1ed83f22157475b885b421c
parentb45e893f0424a3b41a9c21fb9c238b9831e4f2c9
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 06194c3ff.

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