From 940269048f425625564363990ca17f9a22c85573 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 10 Dec 2006 02:19:44 -0800 Subject: [PATCH] --- yaml --- r: 43968 b: refs/heads/master c: 6f88cc2e9c29c181557b477ee396375906acbc90 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/cifs/file.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 086eb92ac3c8..1aa63f30b1d5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8bde37f08fe3340435f4320b5a092eeb55acebfd +refs/heads/master: 6f88cc2e9c29c181557b477ee396375906acbc90 diff --git a/trunk/fs/cifs/file.c b/trunk/fs/cifs/file.c index 1aa95a50cac2..0f05cab5d24a 100644 --- a/trunk/fs/cifs/file.c +++ b/trunk/fs/cifs/file.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include "cifsfs.h" @@ -1812,6 +1813,7 @@ static int cifs_readpages(struct file *file, struct address_space *mapping, cFYI(1, ("Read error in readpages: %d", rc)); break; } else if (bytes_read > 0) { + task_io_account_read(bytes_read); pSMBr = (struct smb_com_read_rsp *)smb_read_data; cifs_copy_cache_pages(mapping, page_list, bytes_read, smb_read_data + 4 /* RFC1001 hdr */ +