commit | b130ed5998e62879a66bad08931a2b5e832da95c | [log] [tgz] |
---|---|---|
author | Kinglong Mee <kinglongmee@gmail.com> | Wed Nov 04 15:20:24 2015 +0000 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Nov 11 02:07:51 2015 -0500 |
tree | 199f61e2d9822d5bbde3ba1bbda2a54bead3628c | |
parent | 86108c2e34a26e4bec3c6ddb23390bf8cedcf391 [diff] |
FS-Cache: Don't override netfs's primary_index if registering failed Only override netfs->primary_index when registering success. Cc: stable@vger.kernel.org # v2.6.30+ 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>