diff options
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c index ce52bd954df6..ead7df066853 100644 --- a/fs/gfs2/dir.c +++ b/fs/gfs2/dir.c | |||
@@ -184,7 +184,7 @@ static int gfs2_dir_write_data(struct gfs2_inode *ip, const char *buf, | |||
184 | while (copied < size) { | 184 | while (copied < size) { |
185 | unsigned int amount; | 185 | unsigned int amount; |
186 | struct buffer_head *bh; | 186 | struct buffer_head *bh; |
187 | int new; | 187 | int new = 0; |
188 | 188 | ||
189 | amount = size - copied; | 189 | amount = size - copied; |
190 | if (amount > sdp->sd_sb.sb_bsize - o) | 190 | if (amount > sdp->sd_sb.sb_bsize - o) |