]> git.baikalelectronics.ru Git - kernel.git/commit
hfsplus: protect setflags using i_mutex
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Oct 2010 03:41:35 +0000 (05:41 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Oct 2010 03:41:35 +0000 (05:41 +0200)
commitada6497dd1471172f44865d4ce47966d9c1167f1
treebd6f3fc3d929b44cffea4319f6bda828b6704269
parentf0f76311e2192df593b3b79ad910654218046f8c
hfsplus: protect setflags using i_mutex

Use i_mutex for protecting against concurrent setflags ioctls like in
other filesystems and get rid of the BKL in hfsplus_ioctl.

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