- /* Used only during image mount: Table of file descriptors that
- * have been opened to this inode. The table is automatically
- * freed when the last file descriptor is closed. */
- struct wimfs_fd **i_fds;
+ struct {
+ /* Used only during image mount: Table of file
+ * descriptors that have been opened to this inode.
+ * This table is freed when the last file descriptor is
+ * closed. */
+ struct wimfs_fd **i_fds;
+
+ /* Lower bound on the index of the next available entry
+ * in 'i_fds'. */
+ u16 i_next_fd;
+ };