commit | 7c16502dbc16658c45165edb1c54df6b8b02d9ca | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Tue Feb 01 15:58:25 2011 -0800 |
committer | Kenny Root <kroot@google.com> | Tue Feb 01 16:01:05 2011 -0800 |
tree | b8ff4ed058b5a2b2c06081c5692dcb4d88d4dd3a | |
parent | d33d417e3a057fffad22c23f5f002177531db2a5 [diff] |
Use LOOP_GET_STATUS64 for checking loop devices To determine whether a loop device was available, we use an ioctl call to LOOP_GET_STATUS, but this fails on devices with large storage partitions with errno = EOVERFLOW. Instead use LOOP_GET_STATUS64 which succeeds. Bug: 3412121 Change-Id: Ica3cb48885d3555f2d27073c00e31fc51a08c730