aboutsummaryrefslogtreecommitdiffstats
path: root/fs/generic_acl.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-10-28 17:33:57 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-10-28 17:33:57 -0400
commitb1142e8fec6a594723e5054055a7b53379b90490 (patch)
tree57d6234fa2eb33f861eaea4cee4a40a3ae44c09e /fs/generic_acl.c
parentMerge branch 'upstream-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (diff)
downloadlinux-dev-b1142e8fec6a594723e5054055a7b53379b90490.tar.xz
linux-dev-b1142e8fec6a594723e5054055a7b53379b90490.zip
ext4: BUG_ON fix: check if page has buffers before calling page_buffers()
We need to make check if a page does not have buffes by checking page_has_buffers(page) before calling page_buffers(page) in ext4_writepage(). Otherwise page_buffers() could throw a BUG_ON. Thanks also to Markus Trippelsdorf and Avinash Kurup who also reported the problem. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reported-by: Sedat Dilek <sedat.dilek@googlemail.com> Tested-by: Sedat Dilek <sedat.dilek@googlemail.com>
Diffstat (limited to 'fs/generic_acl.c')
0 files changed, 0 insertions, 0 deletions