linux/fs/ext4
Zheng Liu 8cde7ad17e ext4: fix big-endian bugs which could cause fs corruptions
When an extent was zeroed out, we forgot to do convert from cpu to le16.
It could make us hit a BUG_ON when we try to write dirty pages out.  So
fix it.

[ Also fix a bug found by Dmitry Monakhov where we were missing
  le32_to_cpu() calls in the new indirect punch hole code.

  There are a number of other big endian warnings found by static code
  analyzers, but we'll wait for the next merge window to fix them all
  up.  These fixes are designed to be Obviously Correct by code
  inspection, and easy to demonstrate that it won't make any
  difference (and hence, won't introduce any bugs) on little endian
  architectures such as x86.  --tytso ]

Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reported-by: CAI Qian <caiqian@redhat.com>
Reported-by: Christian Kujau <lists@nerdbynature.de>
Cc: Dmitry Monakhov <dmonakhov@openvz.org>
2013-04-03 12:37:17 -04:00
..
Kconfig
Makefile
acl.c
acl.h
balloc.c ext4: convert number of blocks to clusters properly 2013-03-02 17:18:58 -05:00
bitmap.c
block_validity.c
dir.c Various bug fixes for ext4. The most important is a fix for the new 2013-03-02 19:33:21 -08:00
ext4.h ext4: fix ext4_evict_inode() racing against workqueue processing code 2013-03-20 09:39:42 -04:00
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h
extents.c ext4: fix big-endian bugs which could cause fs corruptions 2013-04-03 12:37:17 -04:00
extents_status.c ext4: update extent status tree after an extent is zeroed out 2013-03-10 21:13:05 -04:00
extents_status.h ext4: update extent status tree after an extent is zeroed out 2013-03-10 21:13:05 -04:00
file.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
fsync.c
hash.c
ialloc.c ext4: use atomic64_t for the per-flexbg free_clusters count 2013-03-11 23:39:59 -04:00
indirect.c ext4: fix big-endian bugs which could cause fs corruptions 2013-04-03 12:37:17 -04:00
inline.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
inode.c Fix a number of regression and other bugs in ext4, most of which were 2013-03-21 17:56:10 -07:00
ioctl.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
mballoc.c ext4: use atomic64_t for the per-flexbg free_clusters count 2013-03-11 23:39:59 -04:00
mballoc.h
migrate.c
mmp.c
move_extent.c Fix a number of regression and other bugs in ext4, most of which were 2013-03-21 17:56:10 -07:00
namei.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
page-io.c ext4: fix ext4_evict_inode() racing against workqueue processing code 2013-03-20 09:39:42 -04:00
resize.c ext4: use atomic64_t for the per-flexbg free_clusters count 2013-03-11 23:39:59 -04:00
super.c Fix a number of regression and other bugs in ext4, most of which were 2013-03-21 17:56:10 -07:00
symlink.c
truncate.h
xattr.c
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c