commit | 33818bbb84cd371b63ed8849cc5264d24c8b3aa2 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Tue Aug 28 21:29:32 2007 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Sun Oct 14 13:10:20 2007 +0300 |
tree | ecee6a8f02d2d103c6eb33cc6173e74343b1861b | |
parent | ef6075fbfca9139f428d52d60e671da38aa2e212 [diff] |
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 <Artem.Bityutskiy@nokia.com>