diff options
author | Steve French <sfrench@us.ibm.com> | 2007-06-24 18:30:48 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-06-24 18:30:48 +0000 |
commit | 75865f8cc8b38c30c3923b74de4b29a00cc4c0e4 (patch) | |
tree | ec4c6322e739362f4b666fbe0fccbb14c4baaaa7 /fs/cifs/file.c | |
parent | 75154f402ef18e459ff97ddece25656b6c2b329c (diff) | |
download | linux-75865f8cc8b38c30c3923b74de4b29a00cc4c0e4.tar.bz2 |
[CIFS] Add in some missing flags and cifs README and TODO corrections
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 94d5b49049df..5f1b707188f8 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c @@ -1720,7 +1720,9 @@ static int cifs_readpages(struct file *file, struct address_space *mapping, pTcon = cifs_sb->tcon; pagevec_init(&lru_pvec, 0); - +#ifdef CONFIG_CIFS_DEBUG2 + cFYI(1,("rpages: num pages %d", num_pages)); +#endif for (i = 0; i < num_pages; ) { unsigned contig_pages; struct page *tmp_page; @@ -1753,7 +1755,10 @@ static int cifs_readpages(struct file *file, struct address_space *mapping, /* Read size needs to be in multiples of one page */ read_size = min_t(const unsigned int, read_size, cifs_sb->rsize & PAGE_CACHE_MASK); - +#ifdef CONFIG_CIFS_DEBUG2 + cFYI(1,("rpages: read size 0x%x contiguous pages %d", + read_size, contig_pages)); +#endif rc = -EAGAIN; while (rc == -EAGAIN) { if ((open_file->invalidHandle) && |