[JFFS2] Quiet lockdep false positive.
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 1 May 2008 14:53:28 +0000 (15:53 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 1 May 2008 14:53:28 +0000 (15:53 +0100)
commit590fe34c47cb5c2d836ac76fabc5f160bf31a3f1
tree9a5d9a855629b916597582796391564891acf9a4
parent4e571aba7bb25a3a069a7b88c0f63fe5a14c05c6
[JFFS2] Quiet lockdep false positive.

Don't hold f->sem while calling into jffs2_do_create(). It makes lockdep
unhappy, and we don't really need it -- the _reason_ it's a false
positive is because nobody else can see this inode yet and so nobody
will be trying to lock it anyway.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/dir.c
fs/jffs2/write.c