diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-01-12 15:47:17 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-01-12 15:59:23 +0100 |
commit | c31404533f2fb70efd40d7b56d8165e2ab8bd160 (patch) | |
tree | 886f9e95cbd8e788c37f180d22e48623eef29906 /libdiskfs/init-startup.c | |
parent | dda3d358224c334c8fa4902b3e20c75caf8bddbc (diff) |
trans/mtab: properly lock mtab objects
* trans/mtab.c (struct mtab): Add lock.
(open_hook): Initialize lock.
(close_hook): Destroy lock.
(trivfs_S_io_read): Lock mtab object, adjust error handling accordingly.
(trivfs_S_io_seek): Likewise.
(trivfs_S_io_readable): Likewise.
Diffstat (limited to 'libdiskfs/init-startup.c')
0 files changed, 0 insertions, 0 deletions