mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
new helper: free_page_put_link()
similar to kfree_put_link() Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
5f2c4179e1
commit
ecc087ff14
5 changed files with 10 additions and 18 deletions
|
|
@ -1030,6 +1030,12 @@ void kfree_put_link(struct inode *unused, void *cookie)
|
|||
}
|
||||
EXPORT_SYMBOL(kfree_put_link);
|
||||
|
||||
void free_page_put_link(struct inode *unused, void *cookie)
|
||||
{
|
||||
free_page((unsigned long) cookie);
|
||||
}
|
||||
EXPORT_SYMBOL(free_page_put_link);
|
||||
|
||||
/*
|
||||
* nop .set_page_dirty method so that people can use .page_mkwrite on
|
||||
* anon inodes.
|
||||
|
|
|
|||
Loading…
Reference in a new issue