diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-24 11:22:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-24 11:22:34 -0400 |
commit | fdc0ad80a4f27efcb457b49f5dd8455a3d623559 (patch) | |
tree | 189cde09de3a52aece0493385921b4dd7e096ed2 /drivers/mtd | |
parent | dc87c55120b0a5b0c4d731183f8bb348981aba65 (diff) | |
parent | 6ed09c34b7984a978a73a855f4c2e6662acc8bdb (diff) |
Merge branch 'for-linus' of git://git.infradead.org/ubi-2.6
* 'for-linus' of git://git.infradead.org/ubi-2.6:
UBIFS: fix assertion warning and refine comments
UBIFS: kill CONFIG_UBIFS_FS_DEBUG_CHKS
UBIFS: use GFP_NOFS properly
UBI: use GFP_NOFS properly
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/ubi/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c index aaa6e1e83b29..eededf94f5a6 100644 --- a/drivers/mtd/ubi/io.c +++ b/drivers/mtd/ubi/io.c | |||
@@ -1345,7 +1345,7 @@ int ubi_dbg_check_write(struct ubi_device *ubi, const void *buf, int pnum, | |||
1345 | if (!(ubi_chk_flags & UBI_CHK_IO)) | 1345 | if (!(ubi_chk_flags & UBI_CHK_IO)) |
1346 | return 0; | 1346 | return 0; |
1347 | 1347 | ||
1348 | buf1 = __vmalloc(len, GFP_KERNEL | GFP_NOFS, PAGE_KERNEL); | 1348 | buf1 = __vmalloc(len, GFP_NOFS, PAGE_KERNEL); |
1349 | if (!buf1) { | 1349 | if (!buf1) { |
1350 | ubi_err("cannot allocate memory to check writes"); | 1350 | ubi_err("cannot allocate memory to check writes"); |
1351 | return 0; | 1351 | return 0; |
@@ -1409,7 +1409,7 @@ int ubi_dbg_check_all_ff(struct ubi_device *ubi, int pnum, int offset, int len) | |||
1409 | if (!(ubi_chk_flags & UBI_CHK_IO)) | 1409 | if (!(ubi_chk_flags & UBI_CHK_IO)) |
1410 | return 0; | 1410 | return 0; |
1411 | 1411 | ||
1412 | buf = __vmalloc(len, GFP_KERNEL | GFP_NOFS, PAGE_KERNEL); | 1412 | buf = __vmalloc(len, GFP_NOFS, PAGE_KERNEL); |
1413 | if (!buf) { | 1413 | if (!buf) { |
1414 | ubi_err("cannot allocate memory to check for 0xFFs"); | 1414 | ubi_err("cannot allocate memory to check for 0xFFs"); |
1415 | return 0; | 1415 | return 0; |