/*
* YAFFS: Yet another FFS. 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 Timothy Manning <timothy@yaffs.net>
{
int output=0;
int error =0;
- output = yaffs_link("/non-existing-dir/foo",HARD_LINK_PATH);
+ output = yaffs_link("/yaffs2/foo/file",HARD_LINK_PATH);
if (output<0){
error=yaffs_get_error();
if (abs(error)==ENOTDIR){