summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_dtree.c
diff options
context:
space:
mode:
authorDave Kleikamp2005-05-02 20:24:57 +0200
committerLinus Torvalds2005-05-03 07:23:53 +0200
commitdc5798d9a7b656550533a5c0177dba17d4ef4990 (patch)
tree3ae0b6a6b4d85efbc4ccae6f9567d1c461292c01 /fs/jfs/jfs_dtree.c
parent[PATCH] JFS: Simplify creation of new iag (diff)
downloadkernel-qcow2-linux-dc5798d9a7b656550533a5c0177dba17d4ef4990.tar.gz
kernel-qcow2-linux-dc5798d9a7b656550533a5c0177dba17d4ef4990.tar.xz
kernel-qcow2-linux-dc5798d9a7b656550533a5c0177dba17d4ef4990.zip
[PATCH] JFS: Changes for larger page size
JFS code has always assumed a page size of 4K. This patch fixes the non-pagecache uses of pages to deal with larger pages. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jfs/jfs_dtree.c')
-rw-r--r--fs/jfs/jfs_dtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/jfs_dtree.c b/fs/jfs/jfs_dtree.c
index e357890adfb2..453bace608d1 100644
--- a/fs/jfs/jfs_dtree.c
+++ b/fs/jfs/jfs_dtree.c
@@ -3181,7 +3181,7 @@ int jfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
d = (struct ldtentry *) & p->slot[stbl[i]];
if (((long) jfs_dirent + d->namlen + 1) >
- (dirent_buf + PSIZE)) {
+ (dirent_buf + PAGE_SIZE)) {
/* DBCS codepages could overrun dirent_buf */
index = i;
overflow = 1;