Assumes ioctl() failed only if it returns -1.

This happens when dealing with btrfs.
This commit is contained in:
Andrea Mazzoleni 2013-09-24 22:27:41 +02:00
parent 4eee6b9c4a
commit 73c16ffd88
2 changed files with 4 additions and 5 deletions

View file

@ -4,8 +4,7 @@ SnapRAID HISTORY
4.1 2013/9
==========
* If the underline filesystem doesn't support the FIEMAP command,
automatically fallback to use FIBMAP and then the inode number for sorting
files.
automatically fallback to use FIBMAP for sorting files.
* Fixes the import of content files from previous version of SnapRAID that
are the result of an incomplete sync.
* Added a new -C, --gen-conf option to generate a dummy configuration