On Fri, 17 Sep 2010 18:56:39 +0530
Suresh Jayaraman <[email protected]> wrote:

> cifs_new_fileinfo() does not use the 'oplock' value from the callers. Instead,
> it sets it to REQ_OPLOCK which seems wrong. We should be using the oplock 
> value
> obtained from the Server to set the inode's clientCanCacheAll or
> clientCanCacheRead flags. Fix this by passing oplock from the callers to
> cifs_new_fileinfo().
> 
> This change dates back to commit a6ce4932 (2.6.30-rc3). So, all the affected
> versions will need this fix. Please Cc stable once reviewed and accepted.
> 
> Cc: Jeff Layton <[email protected]>
> Signed-off-by: Suresh Jayaraman <[email protected]>

Looks correct to me:

Reviewed-by: Jeff Layton <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to