diff options
| author | Jan Kara <[email protected]> | 2009-06-17 16:26:24 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-06-18 13:03:45 -0700 |
| commit | ef43618a47179b41e7203a624f2c7445e7da488c (patch) | |
| tree | 64d42f459e5086768e57d8e8e9bec8304b17c150 /include/linux/debugobjects.h | |
| parent | 6f3f1cb21f08fbf757bbbbb0709ee515a7a7c6ad (diff) | |
ext3: make sure inode is deleted from orphan list after truncate
As Ted pointed out, it can happen that ext3_truncate() returns without
removing inode from orphan list. This way we could in some rare cases
(like when we get ENOMEM from an allocation in ext3_truncate called
because of failed ext3_write_begin) leave the inode on orphan list and
that triggers assertion failure on umount.
So make ext3_truncate() always remove inode from in-memory orphan list.
Cc: Theodore Ts'o <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions