FS-Cache: Don't override netfs's primary_index if registering failed
commit b130ed59 upstream. Only override netfs->primary_index when registering success. Signed-off-by:Kinglong Mee <kinglongmee@gmail.com> Signed-off-by:
David Howells <dhowells@redhat.com> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> [lizf: Backported to 3.4: there are no n_active and flags in primary_index] Signed-off-by:
Zefan Li <lizefan@huawei.com>
parent
6100bd0a
Please register or sign in to comment