From efdc31319d43050a5742fb690b1a4beb68092a94 Mon Sep 17 00:00:00 2001 From: Nick Piggin Date: Sun, 21 Oct 2007 06:57:41 +0200 Subject: [PATCH] nobh: nobh_write_end fix This path mustn't have been tested :( I did attempt to exercise it by injecting failures here, but I suspect PageMappedToDisk may have been getting in the way. Will need more of a look, although I think nobh mode is OK for an -rc1 (it shouldn't eat anyone's data). Commit 03158cd7eb3374843de68421142ca5900df845d9 ("fs: restore nobh") introcduced a NULL deref. Spotted by the Coverity checker. Signed-off-by: Nick Piggin Cc: Badari Pulavarty Cc: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed