Skip to content

Commit

Permalink
Signed-off-by: Steve French <sfrench@us.ibm.com>
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve French committed Jan 27, 2006
1 parent 17cbbaf commit eb9bdaa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion fs/cifs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1190,14 +1190,20 @@ static int cifs_writepages(struct address_space *mapping,
/* BB what if continued retry is
requested via mount flags? */
set_bit(AS_EIO, &mapping->flags);
SetPageError(page);
} else {
cifs_stats_bytes_written(cifs_sb->tcon,
bytes_written);
}
}
for (i = 0; i < n_iov; i++) {
page = pvec.pages[first + i];
/* Should we also set page error on
success rc but too little data written? */
/* BB investigate retry logic on temporary
server crash cases and how recovery works
when page marked as error */
if(rc)
SetPageError(page);
kunmap(page);
unlock_page(page);
page_cache_release(page);
Expand Down

0 comments on commit eb9bdaa

Please sign in to comment.