[CIFS] Allow fallback for setting file size to Procom SMB server when
returns error invalid level Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
82940a4658
commit
a4e85b5f62
|
@ -1166,7 +1166,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs)
|
|||
nfid, npid, FALSE);
|
||||
atomic_dec(&open_file->wrtPending);
|
||||
cFYI(1,("SetFSize for attrs rc = %d", rc));
|
||||
if(rc == -EINVAL) {
|
||||
if((rc == -EINVAL) ||(rc == -EOPNOTSUPP)) {
|
||||
int bytes_written;
|
||||
rc = CIFSSMBWrite(xid, pTcon,
|
||||
nfid, 0, attrs->ia_size,
|
||||
|
|
Loading…
Reference in New Issue