aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exofs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exofs')
-rw-r--r--fs/exofs/inode.c9
-rw-r--r--fs/exofs/super.c1
2 files changed, 2 insertions, 8 deletions
diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c
index 4bb6ef822e46..fbf9f34554e0 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
@@ -759,15 +756,13 @@ static int exofs_releasepage(struct page *page, gfp_t gfp)
759{ 756{
760 EXOFS_DBGMSG("page 0x%lx\n", page->index); 757 EXOFS_DBGMSG("page 0x%lx\n", page->index);
761 WARN_ON(1); 758 WARN_ON(1);
762 return try_to_free_buffers(page); 759 return 0;
763} 760}
764 761
765static void exofs_invalidatepage(struct page *page, unsigned long offset) 762static void exofs_invalidatepage(struct page *page, unsigned long offset)
766{ 763{
767 EXOFS_DBGMSG("page_has_buffers=>%d\n", page_has_buffers(page)); 764 EXOFS_DBGMSG("page 0x%lx offset 0x%lx\n", page->index, offset);
768 WARN_ON(1); 765 WARN_ON(1);
769
770 block_invalidatepage(page, offset);
771} 766}
772 767
773const struct address_space_operations exofs_aops = { 768const struct address_space_operations exofs_aops = {
diff --git a/fs/exofs/super.c b/fs/exofs/super.c
index 03149b9a5178..50cb1745e29c 100644
--- a/fs/exofs/super.c
+++ b/fs/exofs/super.c
@@ -31,7 +31,6 @@
31 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 31 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
32 */ 32 */
33 33
34#include <linux/smp_lock.h>
35#include <linux/string.h> 34#include <linux/string.h>
36#include <linux/parser.h> 35#include <linux/parser.h>
37#include <linux/vfs.h> 36#include <linux/vfs.h>