From: Charles Manning Date: Tue, 25 Mar 2014 00:26:39 +0000 (+1300) Subject: yaffs-direct: Add reldir and reldev interfaces X-Git-Tag: aleph1-release~43 X-Git-Url: https://yaffs.net/gitweb/?a=commitdiff_plain;h=5521e3e34aa8ba4e9579b6d5ca2dd5e0a0946088;hp=5521e3e34aa8ba4e9579b6d5ca2dd5e0a0946088;p=yaffs2.git yaffs-direct: Add reldir and reldev interfaces These interfaces allow far more flexibility in the way Yaffs Direct is hooked up to an RTOS VFS. The "normal" interface requires a fully, qualified path, which is a pain to achieve in some RTOSs. The new interfaces allow calls to be done with paths relative to a directory or to a device. This tends to make some RTOS integration cleaner. Example yaffs_open("/mountpoint-name/dir/file",...); now has two alternatives: yaffs_open_reldir(root_dir,"dir/file",...); or yaffs_open_reldev(dev, "dir/file",...); Signed-off-by: Charles Manning ---