diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-08-31 17:00:59 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-08-31 17:00:59 -0400 |
commit | de89de6e0cf4b1eb13f27137cf2aa40d287aabdf (patch) | |
tree | b6429d327cb0a6985d3fd9bf11755353408ee44c /include/trace | |
parent | 98a56ab382079f777e261e14512cbd4fb2107af4 (diff) | |
download | kernel_samsung_tuna-de89de6e0cf4b1eb13f27137cf2aa40d287aabdf.zip kernel_samsung_tuna-de89de6e0cf4b1eb13f27137cf2aa40d287aabdf.tar.gz kernel_samsung_tuna-de89de6e0cf4b1eb13f27137cf2aa40d287aabdf.tar.bz2 |
ext4: Restore wbc->range_start in ext4_da_writepages()
To solve a lock inversion problem, we implement part of the
range_cyclic algorithm in ext4_da_writepages(). (See commit 2acf2c26
for more details.)
As part of that change wbc->range_start was modified by ext4's
writepages function, which causes its callers to get confused since
they aren't expecting the filesystem to modify it. The simplest fix
is to save and restore wbc->range_start in ext4_da_writepages.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions