From: Steve French Date: Fri, 23 Mar 2007 00:45:08 +0000 (+0000) Subject: [CIFS] Allow reset of file to ATTR_NORMAL when archive bit not set X-Git-Tag: v2.6.21-rc5~29^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=066fcb06d3e27c258bc229bb688ced2b16daa6c2;p=pandora-kernel.git [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 Acked-by: Shirish Pargaonkar Signed-off-by: Steve French --- Reading git-diff-tree failed