[CIFS] Fix lease break for writes
authorSteve French <sfrench@us.ibm.com>
Tue, 27 Apr 2010 04:38:15 +0000 (04:38 +0000)
committerSteve French <sfrench@us.ibm.com>
Tue, 27 Apr 2010 04:38:15 +0000 (04:38 +0000)
commitd54ff73259a852d4b3886dc586587fdef5e9c8de
tree417ed0f9b87e4187641b053892eeb8f32ec32746
parent9bf67e516f16d31f86aa6f063576a959bbf19990
[CIFS] Fix lease break for writes

On lease break we were breaking to readonly leases always
even if write requested.  Also removed experimental
ifdef around setlease code

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/cifsfs.h
fs/cifs/file.c