diff options
author | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-05-02 12:24:57 -0600 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-02 22:23:53 -0700 |
commit | dc5798d9a7b656550533a5c0177dba17d4ef4990 (patch) | |
tree | 3ae0b6a6b4d85efbc4ccae6f9567d1c461292c01 /fs/jfs/jfs_dtree.c | |
parent | d2e83707edbe6a2520591141421d26a87414a1b9 (diff) | |
download | kernel_samsung_smdk4412-dc5798d9a7b656550533a5c0177dba17d4ef4990.tar.gz kernel_samsung_smdk4412-dc5798d9a7b656550533a5c0177dba17d4ef4990.tar.bz2 kernel_samsung_smdk4412-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/jfs_dtree.c b/fs/jfs/jfs_dtree.c index e357890adfb..453bace608d 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; |