[CIFS] add extra null attr check
commit1adcb71092f6461c4002ccf29d316f6da3e1f39b
authorSteve French <sfrench@us.ibm.com>
Wed, 25 Feb 2009 14:19:56 +0000 (25 14:19 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 12 Mar 2009 01:36:21 +0000 (12 01:36 +0000)
treebc2238c4e473542f0b18bec7433f92d58d53b216
parent4717bed6806dab0270e5bfbc45e9f999e63ededd
[CIFS] add extra null attr check

Although attr == NULL can not happen, this makes cifs_set_file_info safer
in the future since it may not be obvious that the caller can not set
attr to NULL.

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c