diff options
Diffstat (limited to 'fs/ocfs2/inode.c')
-rw-r--r-- | fs/ocfs2/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c index 3025c0da6b8a..be71ca0937f7 100644 --- a/fs/ocfs2/inode.c +++ b/fs/ocfs2/inode.c | |||
@@ -624,7 +624,7 @@ static int ocfs2_remove_inode(struct inode *inode, | |||
624 | ocfs2_get_system_file_inode(osb, INODE_ALLOC_SYSTEM_INODE, | 624 | ocfs2_get_system_file_inode(osb, INODE_ALLOC_SYSTEM_INODE, |
625 | le16_to_cpu(di->i_suballoc_slot)); | 625 | le16_to_cpu(di->i_suballoc_slot)); |
626 | if (!inode_alloc_inode) { | 626 | if (!inode_alloc_inode) { |
627 | status = -EEXIST; | 627 | status = -ENOENT; |
628 | mlog_errno(status); | 628 | mlog_errno(status); |
629 | goto bail; | 629 | goto bail; |
630 | } | 630 | } |
@@ -742,7 +742,7 @@ static int ocfs2_wipe_inode(struct inode *inode, | |||
742 | ORPHAN_DIR_SYSTEM_INODE, | 742 | ORPHAN_DIR_SYSTEM_INODE, |
743 | orphaned_slot); | 743 | orphaned_slot); |
744 | if (!orphan_dir_inode) { | 744 | if (!orphan_dir_inode) { |
745 | status = -EEXIST; | 745 | status = -ENOENT; |
746 | mlog_errno(status); | 746 | mlog_errno(status); |
747 | goto bail; | 747 | goto bail; |
748 | } | 748 | } |