]> git.karo-electronics.de Git - mv-sheeva.git/commit
Btrfs: avoid possible NULL deref in io_ctl_drop_pages()
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 9 Jan 2012 06:27:42 +0000 (14:27 +0800)
committerLi Zefan <lizf@cn.fujitsu.com>
Wed, 11 Jan 2012 02:26:34 +0000 (10:26 +0800)
commita1ee5a45818acc7f9c13e560827cf3e8735ac919
tree984505e8c99a6965453819651ff0ea91a4ca8d4b
parentdb804f23a72bada58f083dfad6a65d019ddb3bd4
Btrfs: avoid possible NULL deref in io_ctl_drop_pages()

If we run into some failure path in io_ctl_prepare_pages(),
io_ctl->pages[] array may have some NULL pointers.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
fs/btrfs/free-space-cache.c