]> git.neil.brown.name Git - LaFS.git/commit
Fix incorrect de-ref of ->my_inode
authorNeilBrown <neilb@suse.de>
Mon, 28 Jun 2010 02:33:18 +0000 (12:33 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 28 Jun 2010 02:33:18 +0000 (12:33 +1000)
commit034a7bb62a9fe7e3e33cbb76e59712dad544a895
tree354720ab018ae7f712c744929e0eded9fbf2e13a
parent9669d8485b9bc65c3bba68ed29ed211c73e1510a
Fix incorrect de-ref of ->my_inode

my_inode may not be set on a block on writeout - e.g. if it was
just cleaned.
As my_inode does not disappear once set (while a ref is held
on the block) it is safe to simply test it.

Signed-off-by: NeilBrown <neilb@suse.de>
README
cluster.c