diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-14 15:36:36 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-01-12 15:58:59 +0100 |
commit | 8070f62fb5240ee5b924d0dae501a50f4662ffe9 (patch) | |
tree | a7fe95dddeda956e75da564e99e8d4baf801954c /nfs/mount.c | |
parent | 19689c97a05e0a10691b671c4c37ca0bf51bdd2b (diff) |
trans/mtab: populate mtab objects on demand
Previously the mtab content was generated in the open hook. Delay this
until the data is needed. A follow up patch will take advantage of
this to both simplify the logic in mtab_populate and make it more
robust at the same time.
* trans/mtab.c (open_hook): Do not eagerly populate the mtab.
(trivfs_S_io_read): Populate the mtab struct on demand.
(trivfs_S_io_seek): Likewise.
(trivfs_S_io_readable): Likewise.
Diffstat (limited to 'nfs/mount.c')
0 files changed, 0 insertions, 0 deletions