kernel-ark/fs/romfs
Artem Bityutskiy 4991e7251e romfs: do not use mtd->get_unmapped_area directly
Remove direct usage of mtd->get_unmapped_area. Instead, just call
'mtd_get_unmapped_area()' which will return -EOPNOTSUPP if the function
is not implemented, and then test for this code.

We also translate -EOPNOTSUPP to -ENOSYS because this return code is
probably part of the kernel ABI which we do not want to break.

Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-01-09 18:26:12 +00:00
..
internal.h ROMFS: romfs_lookup() shouldn't be doing a partial name comparison 2009-04-24 13:28:31 -07:00
Kconfig NOMMU: Fix the RomFS Kconfig to ensure at least one backing store is selected 2009-03-24 09:02:39 +00:00
Makefile NOMMU: Make it possible for RomFS to use MTD devices directly 2009-03-24 09:01:32 +00:00
mmap-nommu.c romfs: do not use mtd->get_unmapped_area directly 2012-01-09 18:26:12 +00:00
storage.c ROMFS: fix length used with romfs_dev_strnlen() function 2009-10-11 11:33:56 -07:00
super.c filesystems: add set_nlink() 2011-11-02 12:53:43 +01:00