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)
* context, or where blocking is not wanted, this routine will process
* committed transactions from the unlock queue.
*/
int jfs_lazycommit(void)
int jfs_lazycommit(void *arg)
{
int WorkDone;
tblock_t *tblk;
......@@ -2952,7 +2952,7 @@ void txResume(struct super_block *sb)
* We write any inodes that have anonymous tlocks so they will become
* available.
*/
int jfs_sync(void)
int jfs_sync(void *arg)
{
struct inode *ip;
struct jfs_inode_info *jfs_ip;
......
......@@ -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 */
t64 = dbMapFileSizeToMapSize(ipbmap);
if (mapSize > t64) {
printk(KERN_ERR
"jfs_extendfs: mapSize (0x%llx) > t64 (0x%llx)\n",
mapSize, t64);
printk(KERN_ERR "jfs_extendfs: mapSize (0x%Lx) > t64 (0x%Lx)\n",
(long long)mapSize, (long long)t64);
rc = EIO;
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