Assume FS_IOC_GETFLAGS may trash output on error
Assume FS_IOC_GETFLAGS may trash output on error

Don't assert that the attr value is reasonable (<= UINT_MAX) when
FS_IOC_GETFLAGS returns an error, because it may change the the value
to something invalid in that situation.

This has been observed to occur when, for example, the underlying
filesystem does not support the operation,

Signed-off-by: Mark J Hewitt <27f946e501e99dd5ab3c6631cb229adb86363941@computer.org>
[1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org: adjust commit message]
Reviewed-by: Rob Browning <1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org>
Tested-by: Rob Browning <1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org>

jbaber/bup,mhoeher/bup,ToxicFrog/bup,pombredanne/bup,pombredanne/bup,gevaerts/bup,pombredanne/bup,mhoeher/bup,mhoeher/bup,pombredanne/bup,jbaber/bup,mhoeher/bup,ToxicFrog/bup,tjanez/bup,gevaerts/bup,tjanez/bup,jbaber/bup,jbaber/bup,tjanez/bup,gevaerts/bup,pombredanne/bup,tjanez/bup,ToxicFrog/bup,pombredanne/bup,tjanez/bup,mhoeher/bup,gevaerts/bup,mhoeher/bup,tjanez/bup,gevaerts/bup,jbaber/bup,jbaber/bup,ToxicFrog/bup,ToxicFrog/bup