288500bca8
- Updated to 3.1.11 - Support for relative paths in xfs_quota thanks to Satoru Takeuchi. - mkfs.xfs will always go into multidisk mode when filesystem geometry is specified on the command line. - Document all commands in xfs_io. - Remove setfl command from xfs_io. - xfs_metadump will obfuscate symlinks by path component. - mkfs.xfs no longer accepts geometry settings smaller than the physical sector size. - xfs_logprint now supports multiply-logged inode fields and handles continued inode transactions correctly. - kill XLOG_SET - Update release scripts to use git archive to address a missing source file reported by Arkadiusz Mi?kiewicz - Fix a build error with -Werror=format-security, reported by Arkadiusz Mi?kiewicz - mkfs.xfs no longer attempts to discard when -N option is used. - Update 'make deb' to use tarball - Sync up with log reservation changes in the kernel. - Fix possible unallocated memory access in fiemap. - Guard against string overflow in path_to_fspath. - Fix setup_cursor array allocation. - Fix free of unintialized pointer in xfs_acl_valid error path. - Guard against path string overflows. - Check strdup results properly in initallfs(). - Fix attribute no_change_count logic. - Remove extraneous close() in fsrallfs(). - xfs_repair now skips the freelist scan of a corrupt agf when in no-modify mode. - xfs_db now skips freelist scans of corrupt agfs. OBS-URL: https://build.opensuse.org/request/show/175750 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=24
21 lines
543 B
Diff
21 lines
543 B
Diff
Index: xfsprogs-3.1.11/repair/incore_ino.c
|
|
===================================================================
|
|
--- repair/incore_ino.c
|
|
+++ repair/incore_ino.c
|
|
@@ -166,6 +166,7 @@ __uint32_t num_inode_references(struct i
|
|
return irec->ino_un.ex_data->counted_nlinks.un32[ino_offset];
|
|
default:
|
|
ASSERT(0);
|
|
+ return 0; /* Avoid compiler warning */
|
|
}
|
|
}
|
|
|
|
@@ -206,6 +207,7 @@ __uint32_t get_inode_disk_nlinks(struct
|
|
return irec->disk_nlinks.un32[ino_offset];
|
|
default:
|
|
ASSERT(0);
|
|
+ return 0; /* Avoid compiler warning */
|
|
}
|
|
}
|
|
|