diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-05-28 17:41:00 -0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-07-14 16:57:14 -0400 |
commit | dd25e55ea133b14678cfaa9e205b082b24b26dbc (patch) | |
tree | ddbf448a41cf491de70395bbb788dc06bb6a6deb | |
parent | 8ddb7b004dfa1832a750e199df8bff4b75b73565 (diff) |
ocfs2: fix printk format warnings with OCFS2_FS_STATS=n
Fix printk format warnings when OCFS2_FS_STATS=n:
linux-next-20080528/fs/ocfs2/dlmglue.c: In function 'ocfs2_dlm_seq_show':
linux-next-20080528/fs/ocfs2/dlmglue.c:2623: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'int'
linux-next-20080528/fs/ocfs2/dlmglue.c:2623: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'int'
linux-next-20080528/fs/ocfs2/dlmglue.c:2623: warning: format '%llu' expects type 'long long unsigned int', but argument 7 has type 'int'
linux-next-20080528/fs/ocfs2/dlmglue.c:2623: warning: format '%llu' expects type 'long long unsigned int', but argument 8 has type 'int'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
-rw-r--r-- | fs/ocfs2/dlmglue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index 80537b769e41..eae3d643a5e4 100644 --- a/fs/ocfs2/dlmglue.c +++ b/fs/ocfs2/dlmglue.c | |||
@@ -2592,12 +2592,12 @@ static int ocfs2_dlm_seq_show(struct seq_file *m, void *v) | |||
2592 | # define lock_max_exmode(_l) (_l)->l_lock_max_exmode | 2592 | # define lock_max_exmode(_l) (_l)->l_lock_max_exmode |
2593 | # define lock_refresh(_l) (_l)->l_lock_refresh | 2593 | # define lock_refresh(_l) (_l)->l_lock_refresh |
2594 | #else | 2594 | #else |
2595 | # define lock_num_prmode(_l) (0) | 2595 | # define lock_num_prmode(_l) (0ULL) |
2596 | # define lock_num_exmode(_l) (0) | 2596 | # define lock_num_exmode(_l) (0ULL) |
2597 | # define lock_num_prmode_failed(_l) (0) | 2597 | # define lock_num_prmode_failed(_l) (0) |
2598 | # define lock_num_exmode_failed(_l) (0) | 2598 | # define lock_num_exmode_failed(_l) (0) |
2599 | # define lock_total_prmode(_l) (0) | 2599 | # define lock_total_prmode(_l) (0ULL) |
2600 | # define lock_total_exmode(_l) (0) | 2600 | # define lock_total_exmode(_l) (0ULL) |
2601 | # define lock_max_prmode(_l) (0) | 2601 | # define lock_max_prmode(_l) (0) |
2602 | # define lock_max_exmode(_l) (0) | 2602 | # define lock_max_exmode(_l) (0) |
2603 | # define lock_refresh(_l) (0) | 2603 | # define lock_refresh(_l) (0) |