Changeset 48de019 in mainline


Ignore:
Timestamp:
2011-04-21T19:32:02Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bb7e8382
Parents:
cfac897
Message:

return the ENAMETOOLONG error in the mfs_link() function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_ops.c

    rcfac897 r48de019  
    523523        struct mfs_node *parent = pfn->data;
    524524        struct mfs_node *child = cfn->data;
     525        struct mfs_sb_info *sbi = parent->instance->sbi;
     526
     527        if (str_size(name) > sbi->max_name_len)
     528                return ENAMETOOLONG;
    525529
    526530        mfsdebug("mfs_link() %d\n", (int) child->ino_i->index);
Note: See TracChangeset for help on using the changeset viewer.