Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ab9ea463 authored by Eric Biggers's avatar Eric Biggers
Browse files

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
parent 79eaacdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment