]> git.baikalelectronics.ru Git - kernel.git/commit
UBI: use GFP_NOFS properly
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 24 Mar 2011 14:09:56 +0000 (16:09 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 24 Mar 2011 14:09:56 +0000 (16:09 +0200)
commitd1f2d74b94425dcab0ea1e0443061f8a66e41e33
tree0f451eb03a5f2d972842917099aead265687d0ef
parent005ae244b7e892a26f251677c6ad3436d7422ab0
UBI: use GFP_NOFS properly

This patch fixes a brown-paperbag bug which was introduced by me:
I used incorrect "GFP_KERNEL | GFP_NOFS" allocation flags to make
sure my allocations do not cause write-back. But the correct form
is "GFP_NOFS".

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/io.c