Move ext4-use-percpu-data-for-lg_prealloc_list to stable series
[ext4-patch-queue.git] / ext4_fix_longlong_checkpatch_issues
blob34a89c9c1aca8d2235f00209c90f1c5c01becdc8
1 ext4: Fix long long checkpatch warnings
3 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
5 diff --git a/fs/ext4/super.c b/fs/ext4/super.c
6 index 7402119..dadc61b 100644
7 --- a/fs/ext4/super.c
8 +++ b/fs/ext4/super.c
9 @@ -1720,9 +1720,9 @@ static void ext4_orphan_cleanup(struct super_block *sb,
10                 DQUOT_INIT(inode);
11                 if (inode->i_nlink) {
12                         printk(KERN_DEBUG
13 -                               "%s: truncating inode %lu to %Ld bytes\n",
14 +                               "%s: truncating inode %lu to %lld bytes\n",
15                                 __func__, inode->i_ino, inode->i_size);
16 -                       jbd_debug(2, "truncating inode %lu to %Ld bytes\n",
17 +                       jbd_debug(2, "truncating inode %lu to %lld bytes\n",
18                                   inode->i_ino, inode->i_size);
19                         ext4_truncate(inode);
20                         nr_truncates++;
21 @@ -2562,7 +2562,7 @@ static journal_t *ext4_get_journal(struct super_block *sb,
22                 return NULL;
23         }
25 -       jbd_debug(2, "Journal inode found at %p: %Ld bytes\n",
26 +       jbd_debug(2, "Journal inode found at %p: %lld bytes\n",
27                   journal_inode, journal_inode->i_size);
28         if (!S_ISREG(journal_inode->i_mode)) {
29                 printk(KERN_ERR "EXT4-fs: invalid journal inode.\n");
30 @@ -3443,7 +3443,7 @@ static ssize_t ext4_quota_write(struct super_block *sb, int type,
31         handle_t *handle = journal_current_handle();
33         if (!handle) {
34 -               printk(KERN_WARNING "EXT4-fs: Quota write (off=%Lu, len=%Lu)"
35 +               printk(KERN_WARNING "EXT4-fs: Quota write (off=%llu, len=%llu)"
36                         " cancelled because transaction is not started.\n",
37                         (unsigned long long)off, (unsigned long long)len);
38                 return -EIO;