Changeset 9a9a58e in mainline


Ignore:
Timestamp:
2011-03-02T18:40:28Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
57640e7
Parents:
9e3dc95
Message:

Fix max file name length

Location:
uspace/srv/fs/minixfs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_const.h

    r9e3dc95 r9a9a58e  
    4949
    5050#define V1_MAX_NAME_LEN         14
    51 #define V2_MAX_NAME_LEN         60
     51#define V2_MAX_NAME_LEN         14
     52#define V3_MAX_NAME_LEN         60
    5253
    5354#endif
  • uspace/srv/fs/minixfs/mfs_dentry.h

    r9e3dc95 r9a9a58e  
    3636#include "mfs_const.h"
    3737
     38#define mfs_v2_dentry   mfs_v1_dentry
     39
    3840/*MinixFS V1 directory entry on-disk structure*/
    3941struct mfs_v1_dentry {
     
    4244} __attribute__ ((packed));
    4345
    44 /*MinixFS V2 directory entry on-disk structure*/
    45 struct mfs_v2_dentry {
     46/*MinixFS V3 directory entry on-disk structure*/
     47struct mfs_v3_dentry {
    4648        uint32_t d_inum;
    47         char d_name[V2_MAX_NAME_LEN];
     49        char d_name[V3_MAX_NAME_LEN];
    4850} __attribute__ ((packed));
    4951
Note: See TracChangeset for help on using the changeset viewer.