Commit 0ccddf94 authored by Dave Kleikamp's avatar Dave Kleikamp

JFS: Trivial fixes

Kernel threads take a void * argument
Fix compiler warnings in printk statement on 64-bit architectures
parent 80e4e144
...@@ -2755,7 +2755,7 @@ void txLazyCommit(tblock_t * tblk) ...@@ -2755,7 +2755,7 @@ void txLazyCommit(tblock_t * tblk)
* context, or where blocking is not wanted, this routine will process * context, or where blocking is not wanted, this routine will process
* committed transactions from the unlock queue. * committed transactions from the unlock queue.
*/ */
int jfs_lazycommit(void) int jfs_lazycommit(void *arg)
{ {
int WorkDone; int WorkDone;
tblock_t *tblk; tblock_t *tblk;
...@@ -2952,7 +2952,7 @@ void txResume(struct super_block *sb) ...@@ -2952,7 +2952,7 @@ void txResume(struct super_block *sb)
* We write any inodes that have anonymous tlocks so they will become * We write any inodes that have anonymous tlocks so they will become
* available. * available.
*/ */
int jfs_sync(void) int jfs_sync(void *arg)
{ {
struct inode *ip; struct inode *ip;
struct jfs_inode_info *jfs_ip; struct jfs_inode_info *jfs_ip;
......
...@@ -312,9 +312,8 @@ int jfs_extendfs(struct super_block *sb, s64 newLVSize, int newLogSize) ...@@ -312,9 +312,8 @@ int jfs_extendfs(struct super_block *sb, s64 newLVSize, int newLogSize)
/* compute number of blocks that can be extended by current mapfile */ /* compute number of blocks that can be extended by current mapfile */
t64 = dbMapFileSizeToMapSize(ipbmap); t64 = dbMapFileSizeToMapSize(ipbmap);
if (mapSize > t64) { if (mapSize > t64) {
printk(KERN_ERR printk(KERN_ERR "jfs_extendfs: mapSize (0x%Lx) > t64 (0x%Lx)\n",
"jfs_extendfs: mapSize (0x%llx) > t64 (0x%llx)\n", (long long)mapSize, (long long)t64);
mapSize, t64);
rc = EIO; rc = EIO;
goto error_out; goto error_out;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment