diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2007-07-15 23:39:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 09:05:41 -0700 |
commit | 647bd61a5f3a51a38c670f91af9d861ad66149a3 (patch) | |
tree | acadac2740f3a482c6f3472fd0b0e62d158c5df4 /kernel/stop_machine.c | |
parent | 9c1729db3e6d738f872bcb090212af00473bf666 (diff) | |
download | lwn-647bd61a5f3a51a38c670f91af9d861ad66149a3.tar.gz lwn-647bd61a5f3a51a38c670f91af9d861ad66149a3.zip |
UDF: check for allocated memory for inode data
This patch adds checking for granted memory while filling up inode data to
prevent possible NULL pointer usage. If there is not enough memory to fill
inode data we just mark it as "bad". Also some whitespace cleanup.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Jan Kara <jack@ucw.cz>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions