From: Steve French Date: Tue, 16 Sep 2008 23:50:58 +0000 (+0000) Subject: [CIFS] use common code for turning off ATTR_READONLY in cifs_unlink X-Git-Tag: v2.6.28-rc1~718^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=388e57b2759672a3e3ede0d2f7e95124b417b0a3;p=pandora-kernel.git [CIFS] use common code for turning off ATTR_READONLY in cifs_unlink We already have a cifs_set_file_info function that can flip DOS attribute bits. Have cifs_unlink call it to handle turning ATTR_HIDDEN on and ATTR_READONLY off when an unlink attempt returns -EACCES. This also removes a level of indentation from cifs_unlink. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed