git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make page->private usable in compound pages
[sfrench/cifs-2.6.git]
/
fs
/
hugetlbfs
/
inode.c
diff --git
a/fs/hugetlbfs/inode.c
b/fs/hugetlbfs/inode.c
index 9ba71b252f3ece82706cf5545c669076998e52e2..8e1b7825e2f3fd61dddc50d5c54a7d694708c387 100644
(file)
--- a/
fs/hugetlbfs/inode.c
+++ b/
fs/hugetlbfs/inode.c
@@
-450,7
+450,7
@@
static int hugetlbfs_symlink(struct inode *dir,
*/
static int hugetlbfs_set_page_dirty(struct page *page)
{
- struct page *head =
(struct page *)page_private
(page);
+ struct page *head =
compound_head
(page);
SetPageDirty(head);
return 0;