summaryrefslogtreecommitdiff
path: root/fs/posix_acl.c
diff options
context:
space:
mode:
authorYongqiang Yang <xiaoqiangnk@gmail.com>2011-12-13 21:51:55 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-21 12:58:34 -0800
commit8afe1f656c3cb0eff4219e3a4a22b95579148ad6 (patch)
treebb5b6bb6462a21ee858a9af7d7bd4551979223c0 /fs/posix_acl.c
parentd118bc3aec8134c35f9de6dbb85d6c30d71a1b54 (diff)
ext4: avoid potential hang in mpage_submit_io() when blocksize < pagesize
commit 13a79a4741d37fda2fbafb953f0f301dc007928f upstream. If there is an unwritten but clean buffer in a page and there is a dirty buffer after the buffer, then mpage_submit_io does not write the dirty buffer out. As a result, da_writepages loops forever. This patch fixes the problem by checking dirty flag. Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/posix_acl.c')
0 files changed, 0 insertions, 0 deletions