Whamcloud - gitweb
b=18801
authoranserper <anserper>
Thu, 16 Jul 2009 14:27:01 +0000 (14:27 +0000)
committeranserper <anserper>
Thu, 16 Jul 2009 14:27:01 +0000 (14:27 +0000)
the lost part of the previous commit

lustre/llite/file.c

index 3425a46..fb39d87 100644 (file)
@@ -1918,6 +1918,8 @@ repeat:
                 if (retval)
                         GOTO(out, retval);
 
+                ncount = ocount;
+
                 retval = generic_write_checks(file, ppos, &ncount, 0);
                 if (retval)
                         GOTO(out, retval);