vxfs_subr.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) vxfs_subr.c (09cbfeaf1a5a67bfb3201e0c83c810cecb2efa5a)
1/*
2 * Copyright (c) 2000-2001 Christoph Hellwig.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 36 unchanged lines hidden (view full) ---

45 .readpage = vxfs_readpage,
46 .bmap = vxfs_bmap,
47};
48
49inline void
50vxfs_put_page(struct page *pp)
51{
52 kunmap(pp);
1/*
2 * Copyright (c) 2000-2001 Christoph Hellwig.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 36 unchanged lines hidden (view full) ---

45 .readpage = vxfs_readpage,
46 .bmap = vxfs_bmap,
47};
48
49inline void
50vxfs_put_page(struct page *pp)
51{
52 kunmap(pp);
53 page_cache_release(pp);
53 put_page(pp);
54}
55
56/**
57 * vxfs_get_page - read a page into memory.
58 * @ip: inode to read from
59 * @n: page number
60 *
61 * Description:

--- 122 unchanged lines hidden ---
54}
55
56/**
57 * vxfs_get_page - read a page into memory.
58 * @ip: inode to read from
59 * @n: page number
60 *
61 * Description:

--- 122 unchanged lines hidden ---