From: Artem Bityutskiy Date: Tue, 28 Aug 2007 18:29:32 +0000 (+0300) Subject: UBI: allocate memory with GFP_NOFS X-Git-Tag: v2.6.24-rc1~1324^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33818bbb84cd371b63ed8849cc5264d24c8b3aa2;p=pandora-kernel.git UBI: allocate memory with GFP_NOFS Use GFP_NOFS flag when allocating memory on I/O path, because otherwise we may deadlock the filesystem which works on top of us. We observed the deadlocks with UBIFS. Example: VFS->FS lock a lock->UBI->kmalloc()->VFS writeback->FS locks the same lock again. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed