]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sysvfs: fix NULL deref. when allocating new inode
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 29 Jun 2010 22:05:38 +0000 (15:05 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:29:47 +0000 (10:29 -0700)
commite13b5fd5832d25a08cf9d22ccc7a82f2cef769eb
tree533cec2f1e1358df1706d3a35c785accb3fa433f
parente86dd9fae6df8417f4461ca0c108e9aee585a077
sysvfs: fix NULL deref. when allocating new inode

commit 46c23d7f520e315dde86881b38ba92ebdf34ced5 upstream.

A call to sysv_write_inode() in sysv_new_inode() to its new interface that
replaced wait flag with writeback structure.  This was broken by
a9185b41a4f84971b930c519f0c63bd450c4810d ("pass writeback_control to
->write_inode").

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysv/ialloc.c