FS-Cache: Don't override netfs's primary_index if registering failed
Only override netfs->primary_index when registering success. Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: David Howells <dhowells@redhat.com>
Showing
Please register or sign in to comment