diff options
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 3af64c4b0..ae656a0f1 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4416,7 +4416,7 @@ restore_backup: # endif buf_setino(buf); } - else if (buf->b_dev < 0) + else if (!buf->b_dev_valid) /* Set the inode when creating a new file. */ buf_setino(buf); #endif |