Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4e85b5f authored by Steve French's avatar Steve French
Browse files

[CIFS] Allow fallback for setting file size to Procom SMB server when


returns error invalid level

Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 82940a46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,