|
@@ -1,21 +1,7 @@
|
|
|
/*
|
|
|
- * File : dfs_jffs2.c
|
|
|
- * This file is part of Device File System in RT-Thread RTOS
|
|
|
- * COPYRIGHT (C) 2006-2017, RT-Thread Development Team
|
|
|
+ * Copyright (c) 2006-2018, RT-Thread Development Team
|
|
|
*
|
|
|
- * This program is free software; you can redistribute it and/or modify
|
|
|
- * it under the terms of the GNU General Public License as published by
|
|
|
- * the Free Software Foundation; either version 2 of the License, or
|
|
|
- * (at your option) any later version.
|
|
|
- *
|
|
|
- * This program is distributed in the hope that it will be useful,
|
|
|
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
- * GNU General Public License for more details.
|
|
|
- *
|
|
|
- * You should have received a copy of the GNU General Public License along
|
|
|
- * with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
+ * SPDX-License-Identifier: Apache-2.0
|
|
|
*
|
|
|
* Change Logs:
|
|
|
* Date Author Notes
|
|
@@ -304,7 +290,7 @@ static int dfs_jffs2_open(struct dfs_fd* file)
|
|
|
return jffs2_result_to_dfs(result);
|
|
|
}
|
|
|
|
|
|
- /* save this pointer, it will be used when calling read()��write(),
|
|
|
+ /* save this pointer, it will be used when calling read(), write(),
|
|
|
flush(), lessk(), and will be rt_free when calling close()*/
|
|
|
file->data = jffs2_file;
|
|
|
file->pos = jffs2_file->f_offset;
|