summaryrefslogtreecommitdiff
path: root/fs/adfs/dir_fplus.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-12-09 11:09:51 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2020-01-20 20:12:41 -0500
commitdeed1bfd150c7c71bcdc16419c90933096c1c75e (patch)
tree6c7221657b3800151a0fb64be1df711550b2159c /fs/adfs/dir_fplus.h
parentc3c8149b3552b6656ded9ac86d53072f74771ba7 (diff)
fs/adfs: dir: update directory locking
Update directory locking such that it covers the validation of the directory, which could fail if another thread is concurrently writing to the same directory. Since we may sleep, we need to use a rwsem rather than a rw spinlock. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/adfs/dir_fplus.h')
0 files changed, 0 insertions, 0 deletions