summaryrefslogtreecommitdiffstats
path: root/firmware/cis/COMpad4.cis.ihex
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2011-11-08 23:08:15 +0100
committerIlya Dryomov <idryomov@gmail.com>2011-11-09 21:53:38 +0100
commit4d34b2789538befa45a68a191dc12e0886a69f7d (patch)
tree83f8e67439f0562ee9d4aa51cf1a3a0166d78f99 /firmware/cis/COMpad4.cis.ihex
parentBtrfs: fix subvol_name leak on error in btrfs_mount() (diff)
downloadlinux-4d34b2789538befa45a68a191dc12e0886a69f7d.tar.xz
linux-4d34b2789538befa45a68a191dc12e0886a69f7d.zip
Btrfs: avoid null dereference and leaks when bailing from open_ctree()
Fix bugs introduced by 6c41761f. Firstly, after failing to allocate any of the tree roots (first 'goto fail' in open_ctree()) we would dereference a NULL fs_info pointer in free_fs_info(). Secondly, after failures from init_srcu_struct(), setup_bdi() and new_inode() we would leak all earlier allocated roots: fs_info fields haven't been initialized yet so free_fs_info() is rendered useless. Fix this by initializing fs_info pointer and fs_info fields before any allocations happen. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'firmware/cis/COMpad4.cis.ihex')
0 files changed, 0 insertions, 0 deletions