mm, fs: remove remaining PAGE_CACHE_* and page_cache_{get,release} usage
Mostly direct substitution with occasional adjustment or removing outdated comments. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by: Michal Hocko <mhocko@suse.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
09cbfeaf1a
commit
ea1754a084
@@ -763,8 +763,8 @@ static int truncate_upper(struct dentry *dentry, struct iattr *ia,
|
||||
} else { /* ia->ia_size < i_size_read(inode) */
|
||||
/* We're chopping off all the pages down to the page
|
||||
* in which ia->ia_size is located. Fill in the end of
|
||||
* that page from (ia->ia_size & ~PAGE_CACHE_MASK) to
|
||||
* PAGE_CACHE_SIZE with zeros. */
|
||||
* that page from (ia->ia_size & ~PAGE_MASK) to
|
||||
* PAGE_SIZE with zeros. */
|
||||
size_t num_zeros = (PAGE_SIZE
|
||||
- (ia->ia_size & ~PAGE_MASK));
|
||||
|
||||
|
Reference in New Issue
Block a user