X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_fs.c;h=caade8ae1f06931d9290a9286536e30e4abde38a;hp=25d3d2260fa4b36d1409b8f302ebebb303d5a09e;hb=80bad6d7cb530b6ddac3c51716400b401dfa86db;hpb=b3c7045d1ba097d7669f9b5cf4d2a6800e7ac30d diff --git a/yaffs_fs.c b/yaffs_fs.c index 25d3d22..caade8a 100644 --- a/yaffs_fs.c +++ b/yaffs_fs.c @@ -1064,9 +1064,8 @@ static int yaffs_write_end(struct file *filp, struct address_space *mapping, addr = kva + offset_into_page; T(YAFFS_TRACE_OS, - ("yaffs_write_end addr %x pos %x nBytes %d\n", - (unsigned) addr, - (int)pos, copied)); + ("yaffs_write_end addr %p pos %x nBytes %d\n", + addr,(unsigned)pos, copied)); ret = yaffs_file_write(filp, addr, copied, &pos); @@ -2094,12 +2093,12 @@ static int yaffs_BackgroundThread(void *data) static int yaffs_BackgroundStart(yaffs_Device *dev) { int retval = 0; - struct yaffs_LinuxContext *context = yaffs_DeviceToContext(dev); context->bgRunning = 1; - context->bgThread = kthread_run(yaffs_BackgroundThread,(void *)dev,"yaffs_%x",(unsigned)dev); + context->bgThread = kthread_run(yaffs_BackgroundThread, + (void *)dev,"yaffs-bg"); if(IS_ERR(context->bgThread)){ retval = PTR_ERR(context->bgThread);