]> git.neil.brown.name Git - LaFS.git/commit
write_begin and sync_page fixes.
authorNeilBrown <neilb@suse.de>
Sun, 18 Jul 2010 15:03:33 +0000 (17:03 +0200)
committerNeilBrown <neilb@suse.de>
Sun, 25 Jul 2010 05:34:27 +0000 (15:34 +1000)
commit8b81f4411eef2334b46cd1004775ca1b8a8b2dc7
tree550029ffd03723669eb2bad5bd9d626d09e27f17
parenta9034c27efeb3e590a79ab967377d55860796fa0
write_begin and sync_page fixes.

1/ write_begin needs to drop the page lock and failure,
  and generally clean up properly.
2/ sync_page does not need to 'get_block' as a pointer is
  readily available - so just use that with appropriate locking.

Signed-off-by: NeilBrown <neilb@suse.de>
file.c