diff options
Diffstat (limited to 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 1ccf794fbe61..3e9fda0ca470 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -1126,6 +1126,8 @@ static int shmem_parse_mpol(char *value, unsigned short *policy, | |||
1126 | err = 0; | 1126 | err = 0; |
1127 | } | 1127 | } |
1128 | if (flags) { | 1128 | if (flags) { |
1129 | if (!strcmp(flags, "static")) | ||
1130 | *mode_flags |= MPOL_F_STATIC_NODES; | ||
1129 | } | 1131 | } |
1130 | out: | 1132 | out: |
1131 | /* Restore string for error message */ | 1133 | /* Restore string for error message */ |