diff options
author | Steve French <sfrench@us.ibm.com> | 2008-09-16 23:50:58 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-09-16 23:50:58 +0000 |
commit | 388e57b2759672a3e3ede0d2f7e95124b417b0a3 (patch) | |
tree | 19ed097fb752aec1983435f43e3a64612939beb1 /fs/cifs/transport.c | |
parent | 5f0319a79043457d2555f059fac68c1d840ce381 (diff) |
[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 <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/transport.c')
0 files changed, 0 insertions, 0 deletions