atomic_t i_opencnt was used to free allocation in case there were no
more opens. This patch replaces affs_file_open by generic_file_open
and uses FMODE_WRITE/i_writecount==1 for the task like other FS.
Reviewed-by: Jan Kara
Cc: Andrew Morton
Signed-off-by: Fabian Frederick
---
fs/affs/affs.h
atomic_t i_opencnt was used to free allocation in case there were no
more opens. This patch replaces affs_file_open by generic_file_open
and uses FMODE_WRITE/i_writecount==1 for the task like other FS.
Reviewed-by: Jan Kara j...@suse.cz
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by:
2 matches
Mail list logo