]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/ecryptfs/inode.c
mm, fs: remove remaining PAGE_CACHE_* and page_cache_{get,release} usage
[mirror_ubuntu-bionic-kernel.git] / fs / ecryptfs / inode.c
index 2a988f3a0cdbf934a12c67ec78d8b9606c3a92bb..224b49e71aa437ff36aa79bf111c1e536a9a625d 100644 (file)
@@ -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));