Re: [PATCH 06/10] btrfs: fix remap_file_pages error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 being developing. Maybe someone implement a instance of
address_space without a readpage method in the future. So it is better
to check it, just like ext4.

Thanks

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux