[40/41] Do not use f_mapping in simple_prepare_write()

2007-09-11 Thread Christoph Lameter
Seems that simple_prepare_write() may occasionally be called for a page that does not have a mapping yet. Retrieve the page size from the page instead of the mapping. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/libfs.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[40/41] Do not use f_mapping in simple_prepare_write()

2007-09-11 Thread Christoph Lameter
Seems that simple_prepare_write() may occasionally be called for a page that does not have a mapping yet. Retrieve the page size from the page instead of the mapping. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/libfs.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)