OSDN Git Service

Avoid bogus warnings by branching on whether dir is empty.
authorPaul Crowley <paulcrowley@google.com>
Thu, 10 Mar 2016 20:44:14 +0000 (12:44 -0800)
committerPaul Crowley <paulcrowley@google.com>
Thu, 10 Mar 2016 21:13:43 +0000 (13:13 -0800)
commitaf962725521b14e03114cadef39e8b1592bb60e5
treea40f0c6cead5cdb75c609e0ff538748f2b21d21e
parentde1e5fc187f1fa6037f65a3d59805b23b8836660
Avoid bogus warnings by branching on whether dir is empty.

If the directory is empty, we try to set policy, otherwise we get it.

Bug: 27596572
Change-Id: I127534b7e43c95cf259f001b0acba255a117f76e
ext4_utils/ext4_crypt.cpp
ext4_utils/ext4_crypt.h