CIFS: Fix wrong buffer pointer usage in smb_set_file_info
authorPavel Shilovsky <piastry@etersoft.ru>
Wed, 28 Nov 2012 11:27:54 +0000 (15:27 +0400)
committerSteve French <smfrench@gmail.com>
Wed, 28 Nov 2012 16:02:46 +0000 (10:02 -0600)
commitc772aa92b6deb2857d4b39a5cc3bd3679cc5f4a6
tree382d75f593ed26f530abca854cf6c7c7b35667ea
parent3a98b8614312026d489e56c1d0e294a68e2aad77
CIFS: Fix wrong buffer pointer usage in smb_set_file_info

Commit 6bdf6dbd662176c0da5c3ac8ed10ac94e7776c85 caused a regression
in setattr codepath that leads to files with wrong attributes.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb1ops.c