[PATCH v2 0/3] xfsrestore: fix inventory unpacking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When xfsrestore reads its inventory from tape it fails to convert the media
record on bigendian systems, if the online inventory is unavailable this results
in invalid data being writen to the online inventory and failure to restore
non-directory files.

The series fixes the converstion and related issues.

---
v2
- Seperate out cleanup and content.c changes, fix whitespace.
- Show a full reproducer in the first patch.

Donald Douwsma (3):
  xfsrestore: fix inventory unpacking
  xfsrestore: stobj_unpack_sessinfo cleanup
  xfsrestore: untangle inventory unpacking logic

 inventory/inv_stobj.c | 40 ++++++++++++++--------------------------
 restore/content.c     | 13 +++++--------
 2 files changed, 19 insertions(+), 34 deletions(-)

-- 
2.31.1




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux