Revert "Hack to fix selinux crashes on Manta"
This reverts commit 1d857f3e2e739c001b7cbbd1e37b92a038e46b98.
diff --git a/src/android.c b/src/android.c
index d156ea2..02ec849 100644
--- a/src/android.c
+++ b/src/android.c
@@ -771,14 +771,8 @@
if (lstat(pathname, &statresult) < 0)
return -1;
- if (!S_ISDIR(statresult.st_mode)) {
+ if (!S_ISDIR(statresult.st_mode))
return fixcon_file(pathname, sehandle_old, sehandle_new);
- } else {
- /* XXX hack for JB-MR2. Real fix needed later */
- if (strstr(pathname, "/lost+found")) {
- return 0;
- }
- }
DIR *dir = opendir(pathname);
if (dir == NULL)