linux/fs/ocfs2
Mark Fasheh 8fccfc829a ocfs2: fix inode leak
We weren't cleaning up our inode reference on error in
ocfs2_reserve_local_alloc_bits(). Add a check for error return and iput() if
need be. Move the code to set the alloc context inode info to the end of the
function so we don't have any possibility of passing back a bad pointer.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2007-05-25 11:00:46 -07:00
..
cluster ocfs2: kobject/kset foobar 2007-05-10 09:26:52 -07:00
dlm Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
alloc.c ocfs2: fix sparse warnings in fs/ocfs2 2007-05-02 15:08:08 -07:00
alloc.h ocfs2: make room for unwritten extents flag 2007-04-26 15:02:37 -07:00
aops.c [PATCH] ocfs2: use zero_user_page 2007-05-25 11:00:39 -07:00
aops.h ocfs2: Remember rw lock level during direct io 2007-04-26 15:07:45 -07:00
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c ocfs2: Wrap access of directory allocations with ip_alloc_sem. 2007-05-02 15:07:42 -07:00
dir.h
dlmglue.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
dlmglue.h [PATCH] fs/ocfs2/: make 3 functions static 2007-05-02 15:07:27 -07:00
endian.h
export.c ocfs2: fix sparse warnings in fs/ocfs2 2007-05-02 15:08:08 -07:00
export.h
extent_map.c ocfs2: Cache extent records 2007-04-26 15:10:40 -07:00
extent_map.h ocfs2: Cache extent records 2007-04-26 15:10:40 -07:00
file.c ocfs2: unmap_mapping_range() in ocfs2_truncate() 2007-05-25 11:00:31 -07:00
file.h [PATCH] fs/ocfs2/: make 3 functions static 2007-05-02 15:07:27 -07:00
heartbeat.c
heartbeat.h
inode.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
inode.h [PATCH] Copy i_flags to ocfs2 inode flags on write 2007-05-02 15:07:58 -07:00
ioctl.c [PATCH] Copy i_flags to ocfs2 inode flags on write 2007-05-02 15:07:58 -07:00
ioctl.h ocfs2: Implement compat_ioctl() 2007-05-02 15:07:16 -07:00
journal.c ocfs2: fix sparse warnings in fs/ocfs2 2007-05-02 15:08:08 -07:00
journal.h ocfs2: make room for unwritten extents flag 2007-04-26 15:02:37 -07:00
localalloc.c ocfs2: fix inode leak 2007-05-25 11:00:46 -07:00
localalloc.h
Makefile
mmap.c ocfs2: Turn off shared writeable mmap for local files systems with holes. 2007-04-26 15:02:01 -07:00
mmap.h
namei.c ocfs2: fix sparse warnings in fs/ocfs2 2007-05-02 15:08:08 -07:00
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h ocfs2: Implement compat_ioctl() 2007-05-02 15:07:16 -07:00
ocfs2_lockid.h ocfs2: Remove delete inode vote 2007-04-26 14:39:48 -07:00
ocfs2.h ocfs2: fix sparse warnings in fs/ocfs2 2007-05-02 15:08:08 -07:00
slot_map.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
slot_map.h
suballoc.c ocfs2: fix sparse warnings in fs/ocfs2 2007-05-02 15:08:08 -07:00
suballoc.h
super.c Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
super.h
symlink.c mm: make read_cache_page synchronous 2007-05-07 12:12:51 -07:00
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
vote.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
vote.h ocfs2: remove unused code 2007-04-26 14:40:16 -07:00