patch-2.4.10 linux/fs/smbfs/inode.c
Next file: linux/fs/stat.c
Previous file: linux/fs/select.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Sep 10 07:31:30 2001
- Orig file:
v2.4.9/linux/fs/smbfs/inode.c
- Orig date:
Tue Jul 3 17:08:21 2001
diff -u --recursive --new-file v2.4.9/linux/fs/smbfs/inode.c linux/fs/smbfs/inode.c
@@ -544,7 +544,9 @@
attr->ia_size);
if (error)
goto out;
- vmtruncate(inode, attr->ia_size);
+ error = vmtruncate(inode, attr->ia_size);
+ if (error)
+ goto out;
refresh = 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)