summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVladimir V. Saveliev <vs@namesys.com>2006-12-06 20:39:12 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 08:39:42 -0800
commitc55747682e938c57a9a859d3b26f2c4c83cea011 (patch)
tree5af319c0a61851b68be9cef30172808f6e8e77f0 /drivers
parent301827acbe49d0ba7ec9770803970893ac9ded97 (diff)
downloadlinux-c55747682e938c57a9a859d3b26f2c4c83cea011.tar.gz
linux-c55747682e938c57a9a859d3b26f2c4c83cea011.tar.bz2
linux-c55747682e938c57a9a859d3b26f2c4c83cea011.zip
[PATCH] reiserfs: do not add save links for O_DIRECT writes
We add a save link for O_DIRECT writes to protect the i_size against the crashes before we actually finish the I/O. If we hit an -ENOSPC in aops->prepare_write(), we would do a truncate() to release the blocks which might have got initialized. Now the truncate would add another save link for the same inode causing a reiserfs panic for having multiple save links for the same inode. Signed-off-by: Vladimir V. Saveliev <vs@namesys.com> Signed-off-by: Amit Arora <amitarora@in.ibm.com> Signed-off-by: Suzuki K P <suzuki@in.ibm.com> Cc: Jeff Mahoney <jeffm@suse.com> Cc: Chris Mason <mason@suse.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions