We need to restore all variables including error (as it is done in the upstream kernel). The variable error was errorneously not restored when backporting the patch ede4cebce16f5643c61aedd6d88d9070a1d23a68. This should be applied only to the 3.12 series. Signed-off-by: Mikulas Patocka <mpatocka@xxxxxxxxxx> --- fs/dcache.c | 1 + 1 file changed, 1 insertion(+) Index: linux-stable/fs/dcache.c =================================================================== --- linux-stable.orig/fs/dcache.c 2014-04-29 23:05:56.000000000 +0200 +++ linux-stable/fs/dcache.c 2014-04-29 23:06:09.000000000 +0200 @@ -2893,6 +2893,7 @@ static int prepend_path(const struct pat restart: bptr = *buffer; blen = *buflen; + error = 0; dentry = path->dentry; vfsmnt = path->mnt; mnt = real_mount(vfsmnt); -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html