Commit 9df13039 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

fs/ufs/balloc.c: fix sparc64 printk warning

fs/ufs/balloc.c: In function `ufs_change_blocknr':
fs/ufs/balloc.c:317: warning: long long unsigned int format, long unsigned int arg (arg 2)
fs/ufs/balloc.c:317: warning: long long unsigned int format, long unsigned int arg (arg 3)

sector_t is u64 and we don't know what type the architecture uses to implement
u64.

Cc: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9ea85eba
...@@ -315,8 +315,8 @@ static void ufs_change_blocknr(struct inode *inode, sector_t beg, ...@@ -315,8 +315,8 @@ static void ufs_change_blocknr(struct inode *inode, sector_t beg,
} }
UFSD(" change from %llu to %llu, pos %u\n", UFSD(" change from %llu to %llu, pos %u\n",
(unsigned long long)pos + oldb, (unsigned long long)(pos + oldb),
(unsigned long long)pos + newb, pos); (unsigned long long)(pos + newb), pos);
bh->b_blocknr = newb + pos; bh->b_blocknr = newb + pos;
unmap_underlying_metadata(bh->b_bdev, unmap_underlying_metadata(bh->b_bdev,
......
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