Merge branch 'big-files': Merge in large file support
[yaffs2.git] / direct / yaffs_attribs.c
index 89cd7fcf760e3d1cf41f9fe93635e501faea6ca0..416341af4eb9a5fb19eb27592f04ccdad52b4f1f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2010 Aleph One Ltd.
+ * Copyright (C) 2002-2011 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
@@ -92,7 +92,7 @@ loff_t yaffs_get_file_size(struct yaffs_obj *obj)
                alias = obj->variant.symlink_variant.alias;
                if(!alias)
                        return 0;
-               return yaffs_strnlen(alias,YAFFS_MAX_ALIAS_LENGTH);
+               return strnlen(alias,YAFFS_MAX_ALIAS_LENGTH);
        default:
                return 0;
        }