diff options
author | Steve French <sfrench@us.ibm.com> | 2007-03-23 00:45:08 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-03-23 00:45:08 +0000 |
commit | 066fcb06d3e27c258bc229bb688ced2b16daa6c2 (patch) | |
tree | 9e2dd78b4821f57f5727ec8ea05e3d95d9819ca6 /fs/proc | |
parent | 38e2aff670b681b6cc267aca307633cbcb48864b (diff) | |
download | op-kernel-dev-066fcb06d3e27c258bc229bb688ced2b16daa6c2.zip op-kernel-dev-066fcb06d3e27c258bc229bb688ced2b16daa6c2.tar.gz |
[CIFS] Allow reset of file to ATTR_NORMAL when archive bit not set
When a file had a dos attribute of 0x1 (readonly - but dos attribute
of archive was not set) - doing chmod 0777 or equivalent would
try to set a dos attribute of 0 (which some servers ignore)
rather than ATTR_NORMAL (0x20) which most servers accept.
Does not affect servers which support the CIFS Unix Extensions.
Acked-by: Prasad Potluri <pvp@us.ibm.com>
Acked-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions