commit | ab9ea463b8899bb0b75c9dc7436a7741d9a92fa9 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Thu May 26 00:28:09 2022 +0000 |
committer | Eric Biggers <ebiggers@google.com> | Thu May 26 00:39:38 2022 +0000 |
tree | afea7f47c2c65b232635278acb3985867b2bf245 | |
parent | 79eaacdc99dbb1483430b6871724da269e7db22f [diff] |
Fix directory comparison in tryMountDataMirror Inode numbers are only distinct within a single filesystem. To determine whether two paths name the same file, both the inode number and device number need to be compared. Also downgrade the log message to INFO since this case is expected. Test: On Cuttlefish: sm partition disk:253,32 private logcat | grep 'is mounted already' # message still appears Change-Id: Ic1db53d4c3842b3ecc57a498b8c1300377b27e8a