summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-09-07 23:20:45 +0200
committerMark Fasheh <mark.fasheh@oracle.com>2007-10-12 20:54:35 +0200
commit1d410a6e337a0d2d5543ad1d9bccb670a7a05312 (patch)
tree696f70750482a4a49b61c79e6499659ddb3635b4 /COPYING
parentocfs2: move nonsparse hole-filling into ocfs2_write_begin() (diff)
downloadlinux-1d410a6e337a0d2d5543ad1d9bccb670a7a05312.tar.xz
linux-1d410a6e337a0d2d5543ad1d9bccb670a7a05312.zip
ocfs2: Small refactor of truncate zeroing code
We'll want to reuse most of this when pushing inline data back out to an extent. Keeping this part as a seperate patch helps to keep the upcoming changes for write support uncluttered. The core portion of ocfs2_zero_cluster_pages() responsible for making sure a page is mapped and properly dirtied is abstracted out into it's own function, ocfs2_map_and_dirty_page(). Actual functionality doesn't change, though zeroing becomes optional. We also turn part of ocfs2_free_write_ctxt() into a common function for unlocking and freeing a page array. This operation is very common (and uniform) for Ocfs2 cluster sizes greater than page size, so it makes sense to keep the code in one place. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com> Reviewed-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions