Merge branch 'for-linus' of git://git.open-osd.org/linux-open-osd
* 'for-linus' of git://git.open-osd.org/linux-open-osd: exofs: Fix groups code when num_devices is not divisible by group_width exofs: Remove useless optimization exofs: exofs_file_fsync and exofs_file_flush correctness exofs: Remove superfluous dependency on buffer_head and writeback
This commit is contained in:
@@ -32,9 +32,6 @@
|
||||
*/
|
||||
|
||||
#include <linux/slab.h>
|
||||
#include <linux/writeback.h>
|
||||
#include <linux/buffer_head.h>
|
||||
#include <scsi/scsi_device.h>
|
||||
|
||||
#include "exofs.h"
|
||||
|
||||
@@ -773,15 +770,13 @@ static int exofs_releasepage(struct page *page, gfp_t gfp)
|
||||
{
|
||||
EXOFS_DBGMSG("page 0x%lx\n", page->index);
|
||||
WARN_ON(1);
|
||||
return try_to_free_buffers(page);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void exofs_invalidatepage(struct page *page, unsigned long offset)
|
||||
{
|
||||
EXOFS_DBGMSG("page_has_buffers=>%d\n", page_has_buffers(page));
|
||||
EXOFS_DBGMSG("page 0x%lx offset 0x%lx\n", page->index, offset);
|
||||
WARN_ON(1);
|
||||
|
||||
block_invalidatepage(page, offset);
|
||||
}
|
||||
|
||||
const struct address_space_operations exofs_aops = {
|
||||
|
Reference in New Issue
Block a user