Re: [PATCH] CIFS: Fix SMB2 readdir error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 15, 2014 at 07:09:25PM +0400, Pavel Shilovsky wrote:
> The original commit id 52755808d4525f4d5b86d112d36ffc7a46f3fb48.
> 
> SMB2 servers indicates the end of a directory search with
> STATUS_NO_MORE_FILE error code that is not processed now.
> This causes generic/257 xfstest to fail. Fix this by triggering
> the end of search by this error code in SMB2_query_directory.
> 
> Also when negotiating CIFS protocol we tell the server to close
> the search automatically at the end and there is no need to do
> it itself. In the case of SMB2 protocol, we need to close it
> explicitly - separate close directory checks for different
> protocols.
> 
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Pavel Shilovsky <pshilovsky@xxxxxxxxx>
> Signed-off-by: Steve French <smfrench@xxxxxxxxx>

What stable kernel(s) is this for?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]