on 2010-5-20 16:32, Christoph Hellwig wrote:
> On Thu, May 20, 2010 at 03:21:50PM +0800, Miao Xie wrote:
>> +if (!mapping->a_ops->readpage)
>> +return -ENOEXEC;
>
> I don't think there's any instance of address_space operations without
> a readpage method in btrfs.
But, Btrfs is b
On Thu, May 20, 2010 at 03:21:50PM +0800, Miao Xie wrote:
> + if (!mapping->a_ops->readpage)
> + return -ENOEXEC;
I don't think there's any instance of address_space operations without
a readpage method in btrfs.
--
To unsubscribe from this list: send the line "unsubscribe linux-b
when we use remap_file_pages() to remap a file, remap_file_pages always return
error. It is because btrfs didn't set VM_CAN_NONLINEAR for vma.
Signed-off-by: Miao Xie
---
fs/btrfs/file.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/file.c b/fs/btrfs/f