]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ocfs2: move nonsparse hole-filling into ocfs2_write_begin()
authorMark Fasheh <mark.fasheh@oracle.com>
Wed, 29 Aug 2007 00:13:23 +0000 (17:13 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 12 Oct 2007 18:54:35 +0000 (11:54 -0700)
commit65ed39d6ca78f07d2958814e08440e4264b6b488
tree477623ef58810a6d32c8d23fbf17e5258495ddb0
parent92e91ce2a30b2af53ebf077512801dc01e75cca5
ocfs2: move nonsparse hole-filling into ocfs2_write_begin()

By doing this, we can remove any higher level logic which has to have
knowledge of btree functionality - any callers of ocfs2_write_begin() can
now expect it to do anything necessary to prepare the inode for new data.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Reviewed-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/aops.c
fs/ocfs2/file.c
fs/ocfs2/file.h