Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23130
b: refs/heads/master
c: 238f4c5
h: refs/heads/master
v: v3
  • Loading branch information
Nathan Scott committed Mar 17, 2006
1 parent d9daf57 commit cb9e5c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a13828b167532a2145c9e3f563a99f810500c7b4
refs/heads/master: 238f4c5468656e3e8b1d39d75c1e4fd73592c1ea
11 changes: 7 additions & 4 deletions trunk/fs/xfs/linux-2.6/xfs_aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ xfs_vm_writepage(
* free them and we should come back later via writepage.
*/
STATIC int
xfs_vm_release_page(
xfs_vm_releasepage(
struct page *page,
gfp_t gfp_mask)
{
Expand All @@ -1191,6 +1191,9 @@ xfs_vm_release_page(

xfs_page_trace(XFS_RELEASEPAGE_ENTER, inode, page, gfp_mask);

if (!page_has_buffers(page))
return 0;

xfs_count_page_state(page, &delalloc, &unmapped, &unwritten);
if (!delalloc && !unwritten)
goto free_buffers;
Expand Down Expand Up @@ -1440,7 +1443,7 @@ xfs_vm_readpages(
}

STATIC int
xfs_vm_invalidate_page(
xfs_vm_invalidatepage(
struct page *page,
unsigned long offset)
{
Expand All @@ -1454,8 +1457,8 @@ struct address_space_operations xfs_address_space_operations = {
.readpages = xfs_vm_readpages,
.writepage = xfs_vm_writepage,
.sync_page = block_sync_page,
.releasepage = xfs_vm_release_page,
.invalidatepage = xfs_vm_invalidate_page,
.releasepage = xfs_vm_releasepage,
.invalidatepage = xfs_vm_invalidatepage,
.prepare_write = xfs_vm_prepare_write,
.commit_write = generic_commit_write,
.bmap = xfs_vm_bmap,
Expand Down

0 comments on commit cb9e5c7

Please sign in to comment.