35 #include <linux/kernel.h>
36 #include <linux/string.h>
38 #include <linux/xattr.h>
52 u64 block = squashfs_i(inode)->start;
59 TRACE(
"Entered squashfs_symlink_readpage, page index %ld, start block "
60 "%llx, offset %x\n", page->
index, block, offset);
69 ERROR(
"Unable to read symlink [%llx:%x]\n",
70 squashfs_i(inode)->
start,
71 squashfs_i(inode)->offset);
83 for (bytes = 0; bytes <
length; offset = 0, bytes += copied) {
86 ERROR(
"Unable to read symlink [%llx:%x]\n",
87 squashfs_i(inode)->
start,
88 squashfs_i(inode)->offset);
96 if (copied == length - bytes)
105 SetPageUptodate(page);
117 .readpage = squashfs_symlink_readpage