Changeset 05b9912 in mainline for uspace/srv/vfs/vfs_register.c


Ignore:
Timestamp:
2009-06-03T18:54:49Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
17fd1d4
Parents:
215abc1
Message:

VFS rewrite:

  • add new VFS methods
    • VFS_NODE for getting VFS node for a file descriptor
    • VFS_OPEN_NODE for opening an i-node directly
    • VFS_DEVICE for getting the underlying device of a file (if any)
    • VFS_SYNC for syncing buffers
  • L_OPEN flag is set to underlying filesystem in VFS_LOOKUP when opening a file to support initialization (if any)
  • VFS_CLOSE is now propagated to underlying filesystem to support cleanup (if any)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_register.c

    r215abc1 r05b9912  
    279279        dprintf("\"%.*s\" filesystem successfully registered, handle=%d.\n",
    280280            FS_NAME_MAXLEN, fs_info->vfs_info.name, fs_info->fs_handle);
    281        
    282         /* Process pending mount requests possibly waiting
    283          * for this filesystem implementation.
    284          */
    285         vfs_process_pending_mount();
    286281}
    287282
     
    321316                         */
    322317                        fibril_inc_sercount();
    323                         return fs->phone; 
     318                        return fs->phone;
    324319                }
    325320        }
Note: See TracChangeset for help on using the changeset viewer.