Mount: various cleanups and optimizations
authorEric Biggers <ebiggers3@gmail.com>
Mon, 17 Dec 2012 23:14:06 +0000 (17:14 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 17 Dec 2012 23:14:06 +0000 (17:14 -0600)
commitf333fd43167a066f0ecf3f239fd2bb0d8525d073
treeecc659a6cab7ef3c89316d43a0f4386a6aafe865
parent31cea10bc58ea3067c711c47a266cc68f34459d9
Mount: various cleanups and optimizations

Factor out code from wimfs_symlink(), wimfs_mkdir(), and wimfs_mknod() into a
new create_dentry() function.

Allow wimfs_truncate() to truncate to more than the current file size, causing
the file to be extended.

Remove some unneeded functions and assertions.
src/add_image.c
src/dentry.h
src/lookup_table.c
src/lookup_table.h
src/mount_image.c