]> git.baikalelectronics.ru Git - kernel.git/commit
hfsplus: protect readdir against removals from open_dir_list
authorChristoph Hellwig <hch@tuxera.com>
Fri, 1 Oct 2010 03:45:25 +0000 (05:45 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Oct 2010 03:45:25 +0000 (05:45 +0200)
commit777e199edebc4f1670273657ade045563af2f5a7
tree8626891db36b01a3ff3ac80967ce08aef988d1f7
parentcb5ff73b82367c8b3806a348fb9831fa193e58cb
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