diff options
author | Nick Piggin <npiggin@suse.de> | 2008-09-24 11:32:59 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-09-24 19:32:56 +0000 |
commit | d9414774dc0c7b395036deeca000af42e2d13612 (patch) | |
tree | 4ddd38ff111978b597a802c111944ee2f9059449 /lib/ioremap.c | |
parent | d388908ec40ada0001dfe05134de31d0cc62907c (diff) | |
download | op-kernel-dev-d9414774dc0c7b395036deeca000af42e2d13612.zip op-kernel-dev-d9414774dc0c7b395036deeca000af42e2d13612.tar.gz |
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 <shaggy@austin.ibm.com>
Acked-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'lib/ioremap.c')
0 files changed, 0 insertions, 0 deletions