commit | b14d1bb8b3f6474552f5e98fe5f5471a060a5f56 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Sat May 20 22:06:13 2017 |
committer | Eryu Guan <eguan@redhat.com> | Tue May 23 14:05:38 2017 |
tree | 616c76b5f81413dc8ce048822cfaf14676acccc6 | |
parent | 7ee1b53d77e5e570d6a0a9e717ba45b4bdec30c1 [diff] |
src/stat_test: Fix stx_attributes check I found that this test succeeds on UBIFS: stat_test /mnt/foo attr=+compressed attr=-compressed Since stx_attributes can hold many flags, check the flags correctly with the & operator. Signed-off-by: Richard Weinberger <richard@nod.at> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <eguan@redhat.com>