changes for sfs_open()