android_kernel_xiaomi_sm8350/fs/ocfs2
Mark Fasheh d6b58f89f7 ocfs2: fix regression in ocfs2_read_blocks_sync()
We're panicing in ocfs2_read_blocks_sync() if a jbd-managed buffer is seen.
At first glance, this seems ok but in reality it can happen. My test case
was to just run 'exorcist'. A struct inode is being pushed out of memory but
is then re-read at a later time, before the buffer has been checkpointed by
jbd. This causes a BUG to be hit in ocfs2_read_blocks_sync().

Reviewed-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
2008-12-01 14:46:58 -08:00
..
cluster
dlm ocfs2: fix return value set in init_dlmfs_fs() 2008-12-01 14:46:55 -08:00
alloc.c
alloc.h
aops.c
aops.h
buffer_head_io.c ocfs2: fix regression in ocfs2_read_blocks_sync() 2008-12-01 14:46:58 -08:00
buffer_head_io.h
dcache.c
dcache.h
dir.c
dir.h
dlmglue.c ocfs2: fix wake_up in unlock_ast 2008-12-01 14:46:45 -08:00
dlmglue.h
export.c
export.h
extent_map.c
extent_map.h
file.c ocfs2: truncate outstanding block after direct io failure 2008-11-10 09:51:47 -08:00
file.h
heartbeat.c
heartbeat.h
inode.c ocfs2: Set journal descriptor to NULL after journal shutdown 2008-11-10 09:51:47 -08:00
inode.h
ioctl.c
ioctl.h
journal.c ocfs2: Set journal descriptor to NULL after journal shutdown 2008-11-10 09:51:47 -08:00
journal.h
localalloc.c
localalloc.h
locks.c
locks.h
Makefile
mmap.c ocfs2: return 0 in page_mkwrite to let VFS retry. 2008-11-10 09:51:47 -08:00
mmap.h
namei.c ocfs2: Let inode be really deleted when ocfs2_mknod_locked() fails 2008-11-10 09:51:46 -08:00
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h ocfs2: Fix some typos in xattr annotations. 2008-11-10 09:51:46 -08:00
ocfs2_jbd_compat.h
ocfs2_lockid.h
ocfs2_lockingver.h
ocfs2.h ocfs2: comments typo fix 2008-12-01 14:46:31 -08:00
resize.c
resize.h
slot_map.c
slot_map.h
stack_o2cb.c
stack_user.c ocfs2: initialize stack_user lvbptr 2008-12-01 14:46:39 -08:00
stackglue.c
stackglue.h
suballoc.c
suballoc.h
super.c
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
xattr.c ocfs2: Check search result in ocfs2_xattr_block_get() 2008-11-10 09:51:47 -08:00
xattr.h ocfs2: fix function declaration and definition in xattr 2008-11-10 09:51:44 -08:00