X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fbuffer.c;h=e9994722f4a30959019e1df6e0516f8da23b9402;hb=8f7c58814eb75bf97b8bc18d107b2e26f28b6585;hp=f23bb647db470adbe513307d6d8b70f68ac9bbbf;hpb=73a0e405dce7d720808536b708f7c738b413b1a2;p=linux-2.6-omap-h63xx.git diff --git a/fs/buffer.c b/fs/buffer.c index f23bb647db4..e9994722f4a 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -2598,7 +2598,7 @@ int nobh_truncate_page(struct address_space *mapping, loff_t from) unsigned offset = from & (PAGE_CACHE_SIZE-1); unsigned to; struct page *page; - struct address_space_operations *a_ops = mapping->a_ops; + const struct address_space_operations *a_ops = mapping->a_ops; char *kaddr; int ret = 0;