diff options
Diffstat (limited to 'fs/exofs/inode.c')
-rw-r--r-- | fs/exofs/inode.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c index 088cb476b68..eb7368ebd8c 100644 --- a/fs/exofs/inode.c +++ b/fs/exofs/inode.c | |||
@@ -32,9 +32,6 @@ | |||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #include <linux/slab.h> | 34 | #include <linux/slab.h> |
35 | #include <linux/writeback.h> | ||
36 | #include <linux/buffer_head.h> | ||
37 | #include <scsi/scsi_device.h> | ||
38 | 35 | ||
39 | #include "exofs.h" | 36 | #include "exofs.h" |
40 | 37 | ||
@@ -773,15 +770,13 @@ static int exofs_releasepage(struct page *page, gfp_t gfp) | |||
773 | { | 770 | { |
774 | EXOFS_DBGMSG("page 0x%lx\n", page->index); | 771 | EXOFS_DBGMSG("page 0x%lx\n", page->index); |
775 | WARN_ON(1); | 772 | WARN_ON(1); |
776 | return try_to_free_buffers(page); | 773 | return 0; |
777 | } | 774 | } |
778 | 775 | ||
779 | static void exofs_invalidatepage(struct page *page, unsigned long offset) | 776 | static void exofs_invalidatepage(struct page *page, unsigned long offset) |
780 | { | 777 | { |
781 | EXOFS_DBGMSG("page_has_buffers=>%d\n", page_has_buffers(page)); | 778 | EXOFS_DBGMSG("page 0x%lx offset 0x%lx\n", page->index, offset); |
782 | WARN_ON(1); | 779 | WARN_ON(1); |
783 | |||
784 | block_invalidatepage(page, offset); | ||
785 | } | 780 | } |
786 | 781 | ||
787 | const struct address_space_operations exofs_aops = { | 782 | const struct address_space_operations exofs_aops = { |