|
@@ -140,6 +140,7 @@ int afs_write_begin(struct file *file, struct address_space *mapping,
|
|
candidate->first = candidate->last = index;
|
|
candidate->first = candidate->last = index;
|
|
candidate->offset_first = from;
|
|
candidate->offset_first = from;
|
|
candidate->to_last = to;
|
|
candidate->to_last = to;
|
|
|
|
+ INIT_LIST_HEAD(&candidate->link);
|
|
candidate->usage = 1;
|
|
candidate->usage = 1;
|
|
candidate->state = AFS_WBACK_PENDING;
|
|
candidate->state = AFS_WBACK_PENDING;
|
|
init_waitqueue_head(&candidate->waitq);
|
|
init_waitqueue_head(&candidate->waitq);
|