summaryrefslogtreecommitdiff
path: root/init/action_parser.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2018-08-29 10:44:33 -0700
committerMark Salyzyn <salyzyn@google.com>2018-10-19 16:49:16 +0000
commit9b44e8094871bd213ee6194637bcde014b4c2f7e (patch)
tree64de59bfc7fcd57e3fe1a53b846d8c9dcc06984b /init/action_parser.cpp
parent7a08c896dda54b1814a2c7f06e45fff3de98ecdc (diff)
fs_mgr: fs_mgr_overlayfs_teardown_one use .<hidden>
Switch to using a leading . to reference a teardown directory, and if the top directory (/mnt/scratch/overlay) report ENOTEMPTY then check if there is any non-hidden content, and if not then consider removing the scratch partition. Although not currently a problem, use basename of mount point in fs_mgr_overlayfs_teardown_one when referencing the overlay directory tree to match the setup behavior. Would have become a problem if we started dealing with sub-mount points (eg: /vendor/firmware_mnt). Test: manual Bug: 109821105 Change-Id: I05dafe29c9e376e8423aedc8783fe674a657b3ee
Diffstat (limited to 'init/action_parser.cpp')
0 files changed, 0 insertions, 0 deletions