summaryrefslogtreecommitdiffstats
path: root/fs/ext4/migrate.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-02-22 12:17:31 +0100
committerTheodore Ts'o <tytso@mit.edu>2008-02-22 12:17:31 +0100
commit4cdeed861b5f797b3fa661eb331a6bd6ad669c6a (patch)
tree6ef2159a06974e28bdff4426525ecdd052d7b57f /fs/ext4/migrate.c
parentext4: Fix kernel BUG at fs/ext4/mballoc.c:910! (diff)
downloadlinux-4cdeed861b5f797b3fa661eb331a6bd6ad669c6a.tar.xz
linux-4cdeed861b5f797b3fa661eb331a6bd6ad669c6a.zip
ext4: Don't leave behind a half-created inode if ext4_mkdir() fails
If ext4_mkdir() fails to allocate the initial block for the directory, don't leave behind a half-created directory inode with the link count left at one. This was caused by an inappropriate call to ext4_dec_count(). Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/migrate.c')
0 files changed, 0 insertions, 0 deletions