hfsplus: protect readdir against removals from open_dir_list
commit89755dcace09b44b3aa024bf302d9b19b4c24cad
authorChristoph Hellwig <hch@tuxera.com>
Fri, 1 Oct 2010 03:45:25 +0000 (1 05:45 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Oct 2010 03:45:25 +0000 (1 05:45 +0200)
tree8626891db36b01a3ff3ac80967ce08aef988d1f7
parent84adede31267af37141da2b2b04293c5ea8af7ae
hfsplus: protect readdir against removals from open_dir_list

We already have i_mutex for readdir and the namespace operations that add
entries to open_dir_list, the only thing that was missing was the removal
in hfsplus_dir_release.

Signed-off-by: Christoph Hellwig <hch@tuxera.com>
fs/hfsplus/dir.c