Whamcloud - gitweb
b=21692 fix format specifiers in setattr
authorAndrew Perepechko <andrew.perepechko@sun.com>
Thu, 24 Dec 2009 17:11:51 +0000 (20:11 +0300)
committerAndrew Perepechko <andrew.perepechko@sun.com>
Thu, 24 Dec 2009 17:11:51 +0000 (20:11 +0300)
i=Girish Shilamkar

lustre/lvfs/fsfilt_ext3.c

index b4ac9f3..fa60c43 100644 (file)
@@ -578,8 +578,9 @@ static int fsfilt_ext3_setattr(struct dentry *dentry, void *handle,
         int rc = 0;
 
         LASSERTF(!(iattr->ia_valid & ATTR_SIZE) || !S_ISDIR(inode->i_mode),
-                 "changing i_size on directory #%lu (%p) new "LPU64" old "LPU64"\n",
-                 inode->i_ino, inode, iattr->ia_size, i_size_read(inode));
+                 "changing i_size on directory #%lu (%p) new %llu old %llu\n",
+                 inode->i_ino, inode, (unsigned long long)iattr->ia_size,
+                 (unsigned long long)i_size_read(inode));
 
         /* Avoid marking the inode dirty on the superblock list unnecessarily.
          * We are already writing the inode to disk as part of this