diff options
Diffstat (limited to 'e2fsck/pass1.c')
-rw-r--r-- | e2fsck/pass1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index 4595cbcf..605a9eaa 100644 --- a/e2fsck/pass1.c +++ b/e2fsck/pass1.c @@ -2089,7 +2089,8 @@ static errcode_t pass1_write_inode(ext2_filsys fs, ext2_ino_t ino, { e2fsck_t ctx = (e2fsck_t) fs->priv_data; - if ((ino == ctx->stashed_ino) && ctx->stashed_inode) + if ((ino == ctx->stashed_ino) && ctx->stashed_inode && + (inode != ctx->stashed_inode)) *ctx->stashed_inode = *inode; return EXT2_ET_CALLBACK_NOTHANDLED; } |