Commit d9414774 authored by Committed by Steve French
cifs: Convert cifs to new aops.
cifs: Convert cifs to new aops. This patch is based on the one originally posted by Nick Piggin. His patch was very close, but had a couple of small bugs. Nick's original comments follow: This is another relatively naive conversion. Always do the read upfront when the page is not uptodate (unless we're in the writethrough path). Fix an uninitialized data exposure where SetPageUptodate was called before the page was uptodate. SetPageUptodate and switch to writeback mode in the case that the full page was dirtied. Acked-by: Shaggy <firstname.lastname@example.org> Acked-by: Badari Pulavarty <email@example.com> Signed-off-by: Nick Piggin <firstname.lastname@example.org> Signed-off-by: Jeff Layton <email@example.com> Signed-off-by: Steve French <firstname.lastname@example.org>
Showing with 59 additions and 61 deletions