Windows: RequestExtents avoid bufWrite if rdr held
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 27 Dec 2011 01:44:36 +0000 (20:44 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 31 Dec 2011 21:42:51 +0000 (13:42 -0800)
commit970d6e268011ab4ad8a4857121933514f7768b55
treea261409f7af5ac209852893f78614383d68cba23
parent2ef57a3ee951660cb69d8656e9293c93b28e0d1e
Windows: RequestExtents avoid bufWrite if rdr held

If the cm_buf_t is held by the redirector the buffer cannot
be written back to the file server even if dirty.  Therefore,
do not check whether or not the cm_buf_t is dirty until after
it is known that the buffer is not redirector owned.

Change-Id: I10dc8f74915c2267dc44138284eba273eb708e0a
Reviewed-on: http://gerrit.openafs.org/6432
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/user/RDRFunction.c