Whamcloud - gitweb
large file printk cleanups
authorbraam <braam>
Thu, 8 Nov 2001 19:11:49 +0000 (19:11 +0000)
committerbraam <braam>
Thu, 8 Nov 2001 19:11:49 +0000 (19:11 +0000)
lustre/obdclass/proc_lustre.c
lustre/obdfs/file.c
lustre/obdfs/rw.c

index f83e7a6..cf68e0d 100644 (file)
@@ -36,6 +36,7 @@
  *     function that is exported to other modules. 
  */
 
+#define EXPORT_SYMTAB
 #include <linux/config.h>
 #include <linux/module.h>
 #include <linux/version.h>
index f6abf6f..138ca56 100644 (file)
@@ -63,8 +63,8 @@ static ssize_t
 obdfs_file_write(struct file *file, const char *buf, size_t count, loff_t *ppos)
 {
         ssize_t retval;
-        CDEBUG(D_INFO, "Writing inode %ld, %d bytes, offset %ld\n",
-               file->f_dentry->d_inode->i_ino, count, (long)*ppos);
+        CDEBUG(D_INFO, "Writing inode %ld, %d bytes, offset %Ld\n",
+               file->f_dentry->d_inode->i_ino, count, ppos);
 
         retval = generic_file_write(file, buf, count, ppos);
         CDEBUG(D_INFO, "Wrote %d\n", retval);
index 4daede5..c708bf7 100644 (file)
@@ -169,8 +169,8 @@ static int obdfs_commit_page(struct page *page, int create, int from, int to)
        oa->o_valid = OBD_MD_FLNOTOBD;
         obdfs_from_inode(oa, inode);
 
-       CDEBUG(D_INODE, "commit_page writing (at %d) to %d, count %ld\n", 
-              from, to, (unsigned long )count);
+       CDEBUG(D_INODE, "commit_page writing (at %d) to %d, count %Ld\n", 
+              from, to, count);
 
         err = IOPS(inode, brw)(WRITE, IID(inode), num_obdo, &oa, &bufs_per_obdo,
                                &page, &count, &offset, &flags);