summaryrefslogtreecommitdiff
path: root/libsparse/include/sparse/sparse.h
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-08-06 14:52:12 -0700
committerYifan Hong <elsk@google.com>2020-08-06 15:02:56 -0700
commit900fdf47ce40ce3be141671c0689c208b71f00fc (patch)
tree08cd139fcd2f3b162eb67887a2580b1fe73bda5f /libsparse/include/sparse/sparse.h
parent7c95de759197cb153e8be26c57b2b33f95f1869e (diff)
Fix allowlist for unreliable pinning.
When checking IsUnreliablePinningAllowed, the existing code calls IsTestDir on a value starts with "/data", but IsTestDir expects metadata_dir_. Fix it. Also, make subdir checks more robust and add test cases for IsSubdir. Fixes: 162557082 Test: vts_libsnapshot_test Test: fiemap_image_test Change-Id: I495cfae3da11d1e0800b8abf520df10dd9a29dce
Diffstat (limited to 'libsparse/include/sparse/sparse.h')
0 files changed, 0 insertions, 0 deletions