aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r--fs/cifs/cifssmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index a5941872d3f7..d705500aa283 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -5023,7 +5023,7 @@ SetEARetry:
5023 parm_data->list_len = cpu_to_le32(count); 5023 parm_data->list_len = cpu_to_le32(count);
5024 parm_data->list[0].EA_flags = 0; 5024 parm_data->list[0].EA_flags = 0;
5025 /* we checked above that name len is less than 255 */ 5025 /* we checked above that name len is less than 255 */
5026 parm_data->list[0].name_len = (__u8)name_len;; 5026 parm_data->list[0].name_len = (__u8)name_len;
5027 /* EA names are always ASCII */ 5027 /* EA names are always ASCII */
5028 if(ea_name) 5028 if(ea_name)
5029 strncpy(parm_data->list[0].name,ea_name,name_len); 5029 strncpy(parm_data->list[0].name,ea_name,name_len);