Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cifsd: don't clear ATTR_DIRECTORY with ATTR_NORMAL + other bits
Windows backup client seems to set ATTR_NORMAL + other bits about directory using smb2_set_info_file. When it clears ATTR_DIRECTORY bit, directory appears as a file. This patch leave ATTR_DIRECTORY in file attribute when setting ATTR_NORMAL + other bits. Reported-by: Marios Makassikis <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
- Loading branch information