diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-07 11:19:14 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-11 08:13:13 -0400 |
commit | ecc087ff14352aed52b8e775b4511e7f9cfc64ec (patch) | |
tree | 46a1845f647b8d59e28c49be683949a179b2ecdd /fs/libfs.c | |
parent | 5f2c4179e129bdc47870a81a65d0aff85aa18293 (diff) | |
download | op-kernel-dev-ecc087ff14352aed52b8e775b4511e7f9cfc64ec.zip op-kernel-dev-ecc087ff14352aed52b8e775b4511e7f9cfc64ec.tar.gz |
new helper: free_page_put_link()
similar to kfree_put_link()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/libfs.c')
-rw-r--r-- | fs/libfs.c | 6 |
1 files changed, 6 insertions, 0 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. |