Get rid of spurious check in ffs_truncate for i_size == length

which fails to set the modification time on the file. The same
check a few lines later takes the correct action.

Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
This commit is contained in:
Kirk McKusick 2000-12-19 04:20:13 +00:00
parent 40dbba5754
commit 6da443cb22
1 changed files with 0 additions and 2 deletions

View File

@ -151,8 +151,6 @@ ffs_truncate(vp, length, flags, cred, p)
off_t osize;
oip = VTOI(ovp);
if (oip->i_size == length)
return (0);
fs = oip->i_fs;
if (length < 0)
return (EINVAL);