diff options
author | Elliott Hughes <enh@google.com> | 2014-01-07 18:20:17 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-01-07 18:20:17 -0800 |
commit | bfa7d0822b2811d667fba1b326fd54a083fd5a95 (patch) | |
tree | aedb3ba8bfa5b60d1a0d7d5e2dfdbba63ef67f58 /fs_mgr | |
parent | e21d03ce3722582980be2c84ffbc6b6ccf55e258 (diff) | |
download | core-bfa7d0822b2811d667fba1b326fd54a083fd5a95.tar.gz core-bfa7d0822b2811d667fba1b326fd54a083fd5a95.tar.bz2 core-bfa7d0822b2811d667fba1b326fd54a083fd5a95.zip |
SWAP_FLAG_* constants are now in <sys/swap.h>.
Bug: 9336527
Change-Id: I77e2b05cefbfb4eebda39b4079107833f4160563
Diffstat (limited to 'fs_mgr')
-rw-r--r-- | fs_mgr/fs_mgr.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs_mgr/fs_mgr.c b/fs_mgr/fs_mgr.c index 13b71ee7b..6d9d20c55 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> |