Whamcloud - gitweb
b=11752
[fs/lustre-release.git] / lustre / lvfs / fsfilt_ext3.c
index 80cc962..ad0d2e4 100644 (file)
@@ -1182,7 +1182,7 @@ static int fsfilt_ext3_write_record(struct file *file, void *buf, int bufsize,
         loff_t new_size = inode->i_size;
         journal_t *journal;
         handle_t *handle;
-        int err, block_count = 0, blocksize, size, boffs;
+        int err = 0, block_count = 0, blocksize, size, boffs;
 
         /* Determine how many transaction credits are needed */
         blocksize = 1 << inode->i_blkbits;