summaryrefslogtreecommitdiffstats
path: root/fs_mgr/fs_mgr.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-01-07 18:20:17 -0800
committerElliott Hughes <enh@google.com>2014-01-07 18:20:17 -0800
commitbfa7d0822b2811d667fba1b326fd54a083fd5a95 (patch)
treeaedb3ba8bfa5b60d1a0d7d5e2dfdbba63ef67f58 /fs_mgr/fs_mgr.c
parente21d03ce3722582980be2c84ffbc6b6ccf55e258 (diff)
downloadsystem_core-bfa7d0822b2811d667fba1b326fd54a083fd5a95.zip
system_core-bfa7d0822b2811d667fba1b326fd54a083fd5a95.tar.gz
system_core-bfa7d0822b2811d667fba1b326fd54a083fd5a95.tar.bz2
SWAP_FLAG_* constants are now in <sys/swap.h>.
Bug: 9336527 Change-Id: I77e2b05cefbfb4eebda39b4079107833f4160563
Diffstat (limited to 'fs_mgr/fs_mgr.c')
-rw-r--r--fs_mgr/fs_mgr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs_mgr/fs_mgr.c b/fs_mgr/fs_mgr.c
index 13b71ee..6d9d20c 100644
--- a/fs_mgr/fs_mgr.c
+++ b/fs_mgr/fs_mgr.c
@@ -28,11 +28,6 @@
#include <libgen.h>
#include <time.h>
#include <sys/swap.h>
-/* XXX These need to be obtained from kernel headers. See b/9336527 */
-#define SWAP_FLAG_PREFER 0x8000
-#define SWAP_FLAG_PRIO_MASK 0x7fff
-#define SWAP_FLAG_PRIO_SHIFT 0
-#define SWAP_FLAG_DISCARD 0x10000
#include <linux/loop.h>
#include <private/android_filesystem_config.h>