Re: [PATCH][CIFS] Fix problem incorrectly closing file during query of reparse points

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

 



2014-09-25 11:14 GMT+04:00 Steve French <smfrench@xxxxxxxxx>:
> [PATCH] Fix problem recognizing symlinks
>
> Changeset eb85d94bd introduced a problem where if a cifs open
> fails during query info of a file we
> will still try to close the file (happens with certain types
> of reparse points) even though the file handle is not valid.
>
> In addition for SMB2/SMB3 we were not mapping the return code returned
> by Windows when trying to open a file (like a Windows NFS symlink)
> which is a reparse point.
>
> Signed-off-by: Steve French <smfrench@xxxxxxxxx>
> CC: Pavel Shilovsky <pshilovsky@xxxxxxxxx>
> CC: stable <stable@xxxxxxxxxxxxxxx> #v3.13+
>
> See attached or git tree at
> http://git.samba.org/?p=sfrench/cifs-2.6.git;a=shortlog;h=refs/heads/for-next

Looks correct.

Reviewed-by: Pavel Shilovsky <pshilovsky@xxxxxxxxx>

-- 
Best regards,
Pavel Shilovsky.
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux