]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2010 22:29:32 +0000 (15:29 -0700)
commit364e3ea17458c22495182f0bb79d85cb9ea99ced
tree30a14e15710e9fe9ba38ac667ce7ed5734db3342
parentc94c9a46286999bd855c607805de5a82bb753db5
sysvfs: fix NULL deref. when allocating new inode

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
6094a2fb223e31c389e92b7d33193732ed96325f ("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>
Cc: <stable@kernel.org> [2.6.34.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/sysv/ialloc.c