summaryrefslogtreecommitdiff
path: root/libnetfs/dir-mkdir.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-14 15:36:36 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-01-12 15:58:59 +0100
commit8070f62fb5240ee5b924d0dae501a50f4662ffe9 (patch)
treea7fe95dddeda956e75da564e99e8d4baf801954c /libnetfs/dir-mkdir.c
parent19689c97a05e0a10691b671c4c37ca0bf51bdd2b (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 'libnetfs/dir-mkdir.c')
0 files changed, 0 insertions, 0 deletions