aboutsummaryrefslogtreecommitdiff
path: root/lib/rwsem.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2009-06-10 14:22:55 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-06-10 14:22:55 -0400
commita41f20716975910d9beb90b7efc61107901492b8 (patch)
tree99d3987296660884b998be4d2308d38ca84670a6 /lib/rwsem.c
parent0eab928221bac8895a0b494a16a8810002bd8645 (diff)
ext4: Avoid corrupting the uninitialized bit in the extent during truncate
The unitialized bit was not properly getting preserved in in an extent which is partially truncated because the it was geting set to the value of the first extent to be removed or truncated as part of the truncate operation, and if there are multiple extents are getting removed or modified as part of the truncate operation, it is only the last extent which will might be partially truncated, and its uninitalized bit is not necessarily the same as the first extent to be truncated. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'lib/rwsem.c')
0 files changed, 0 insertions, 0 deletions