X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Finode.c;h=0487ddba139780a4e0bfabc8f4ef2103358d9713;hb=e45b590b976465c258f3e2a6cc84573fc19e16d3;hp=b6726f6445303fd745ce5faab01aa2d8b924e90e;hpb=3988ba0708e98b4bafc9034aa476775520bee708;p=linux-2.6 diff --git a/fs/inode.c b/fs/inode.c index b6726f6445..0487ddba13 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -166,6 +166,7 @@ static struct inode *alloc_inode(struct super_block *sb) mapping_set_gfp_mask(mapping, GFP_HIGHUSER_PAGECACHE); mapping->assoc_mapping = NULL; mapping->backing_dev_info = &default_backing_dev_info; + mapping->writeback_index = 0; /* * If the block_device provides a backing_dev_info for client