]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/afs/file.c
Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband
[karo-tx-linux.git] / fs / afs / file.c
index 0d576987ec670dae2349d0586defdeb58dc52356..4975c9c193dd37505cbdcfad000fdcd24793676d 100644 (file)
@@ -291,8 +291,8 @@ static int afs_file_releasepage(struct page *page, gfp_t gfp_flags)
                cachefs_uncache_page(vnode->cache, page);
 #endif
 
-               pageio = (struct cachefs_page *) page->private;
-               page->private = 0;
+               pageio = (struct cachefs_page *) page_private(page);
+               set_page_private(page, 0);
                ClearPagePrivate(page);
 
                if (pageio)