summaryrefslogtreecommitdiffstats
path: root/kernel/async.c
diff options
context:
space:
mode:
authorDmitry Monakhov <dmonakhov@openvz.org>2010-03-01 23:14:36 -0500
committerTheodore Ts'o <tytso@mit.edu>2010-03-01 23:14:36 -0500
commitf39490bcd1691d65dc33689222a12e1fc13dd824 (patch)
tree721c46882dadb0ca8d3a4ab7d42e58f9eeead2da /kernel/async.c
parent437ca0fda3b442dff9e591581b5e1ffdfec24660 (diff)
downloadop-kernel-dev-f39490bcd1691d65dc33689222a12e1fc13dd824.zip
op-kernel-dev-f39490bcd1691d65dc33689222a12e1fc13dd824.tar.gz
ext4: fix error handling in migrate
Set i_nlink to zero for temporary inode from very beginning. otherwise we may fail to start new journal handle and this inode will be unreferenced but with i_nlink == 1 Since we hold inode reference it can not be pruned. Also add missed journal_start retval check. Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud