git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
437ca0f
)
ext4: fix error handling in migrate
author
Dmitry Monakhov
<dmonakhov@openvz.org>
Tue, 2 Mar 2010 04:14:36 +0000
(23:14 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 2 Mar 2010 04:14:36 +0000
(23:14 -0500)
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>
fs/ext4/migrate.c
patch
|
blob
|
history
diff --cc
fs/ext4/migrate.c
Simple merge