X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;ds=sidebyside;f=fs%2Faffs%2Ffile.c;h=9246cb4aa018fafa3517685e7d7fa1572f2e5a16;hb=b7c11ec9f1c9f4272f032215ddb0b65d64b22ecc;hp=1377b1240b6eadba12cf89c5b961d5d90d33c594;hpb=aef8755711a28bb0ecde7780ae6613fcb62cf6f7;p=karo-tx-linux.git diff --git a/fs/affs/file.c b/fs/affs/file.c index 1377b1240b6e..9246cb4aa018 100644 --- a/fs/affs/file.c +++ b/fs/affs/file.c @@ -628,7 +628,7 @@ static int affs_write_begin_ofs(struct file *file, struct address_space *mapping } index = pos >> PAGE_CACHE_SHIFT; - page = __grab_cache_page(mapping, index); + page = grab_cache_page_write_begin(mapping, index, flags); if (!page) return -ENOMEM; *pagep = page;