Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 6371eb47 in mainline


Ignore:
Timestamp:
2018-12-29T11:54:33Z (3 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
59cce22
Parents:
accdbd8
git-author:
Wang Jianjian <wangjianjian3@…> (2018-12-29 11:54:33)
git-committer:
Jakub Jermar <jakub@…> (2018-12-29 11:54:33)
Message:

vfs: unlock namespace lock when fd allocation fails

Signed-off-by: Wang Jianjian <wangjianjian3@…>

File:
1 edited

Legend:

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

    raccdbd8 r6371eb47  
    892892        rc = vfs_fd_alloc(&file, false, out_fd);
    893893        if (rc != EOK) {
     894                fibril_rwlock_read_unlock(&namespace_rwlock);
    894895                vfs_node_put(node);
    895896                vfs_file_put(parent);
Note: See TracChangeset for help on using the changeset viewer.