]> git.karo-electronics.de Git - linux-beck.git/commit
hostfs: hostfs_file_open: Switch to data locking model
authorRichard Weinberger <richard@nod.at>
Fri, 27 Feb 2015 21:55:20 +0000 (22:55 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 22:27:47 +0000 (23:27 +0100)
commit69886e676e89534953b12df77382504a7731f7bb
tree2d2f096782861f19e28880a9d209269ac8aad371
parentbc465aa9d045feb0e13b4a8f32cc33c1943f62d6
hostfs: hostfs_file_open: Switch to data locking model

Instead of serializing hostfs_file_open() we can use
a per inode mutex to protect ->mode.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/hostfs/hostfs_kern.c