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(-)
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(-)
2 matches
Mail list logo