diff options
author | Chuck Lever <cel@netapp.com> | 2006-03-20 13:44:42 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-20 13:44:42 -0500 |
commit | 606bbba06b11ebcbdf3a4fcd8cce4507c5bd7a4b (patch) | |
tree | b2cb6a1210aa45da2856c0846ad3e835b41629d4 /fs/nfs | |
parent | 5eb53f41d11c04aa4ddb9f168b6bbb27b9790348 (diff) |
NFS: fix compiler warnings on 64-bit platforms
Introduced by NFS aio+dio patches.
Test plan:
Compile kernel with CONFIG_NFS enabled on 64-bit hardware.
Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/direct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index 1e3725e51df1..b4bbf6d75923 100644 --- a/fs/nfs/direct.c +++ b/fs/nfs/direct.c | |||
@@ -365,7 +365,7 @@ static void nfs_direct_read_schedule(struct nfs_direct_req *dreq) | |||
365 | rpc_execute(&data->task); | 365 | rpc_execute(&data->task); |
366 | unlock_kernel(); | 366 | unlock_kernel(); |
367 | 367 | ||
368 | dfprintk(VFS, "NFS: %4d initiated direct read call (req %s/%Ld, %u bytes @ offset %Lu)\n", | 368 | dfprintk(VFS, "NFS: %5u initiated direct read call (req %s/%Ld, %zu bytes @ offset %Lu)\n", |
369 | data->task.tk_pid, | 369 | data->task.tk_pid, |
370 | inode->i_sb->s_id, | 370 | inode->i_sb->s_id, |
371 | (long long)NFS_FILEID(inode), | 371 | (long long)NFS_FILEID(inode), |
@@ -686,7 +686,7 @@ static void nfs_direct_write_schedule(struct nfs_direct_req *dreq, int sync) | |||
686 | rpc_execute(&data->task); | 686 | rpc_execute(&data->task); |
687 | unlock_kernel(); | 687 | unlock_kernel(); |
688 | 688 | ||
689 | dfprintk(VFS, "NFS: %4d initiated direct write call (req %s/%Ld, %u bytes @ offset %Lu)\n", | 689 | dfprintk(VFS, "NFS: %5u initiated direct write call (req %s/%Ld, %zu bytes @ offset %Lu)\n", |
690 | data->task.tk_pid, | 690 | data->task.tk_pid, |
691 | inode->i_sb->s_id, | 691 | inode->i_sb->s_id, |
692 | (long long)NFS_FILEID(inode), | 692 | (long long)NFS_FILEID(inode), |