Files
rtems/cpukit/libfs
Tetsuo Handa c9670dd1bc tree wide: use kvfree() than conditional kfree()/vfree()
There are many locations that do

  if (memory_was_allocated_by_vmalloc)
    vfree(ptr);
  else
    kfree(ptr);

but kvfree() can handle both kmalloc()ed memory and vmalloc()ed memory
using is_vmalloc_addr().  Unless callers have special reasons, we can
replace this branch with kvfree().  Please check and reply if you found
problems.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Jan Kara <jack@suse.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Acked-by: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Acked-by: David Rientjes <rientjes@google.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Oleg Drokin <oleg.drokin@intel.com>
Cc: Boris Petkov <bp@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-07-16 07:22:12 +02:00
..

This directory contains for the "file system" library. All supported
file systems live under this tree.

Currently the supported file systems in this library are:

- IMFS or In Memory File System

   This is the only root file system on RTEMS at the moment. It supports
   files, directories, device nodes and mount points. It can also be
   configured to be the miniIMFS.

- TFTP and FTP filesystem are part of the libnetworking library.

- DEVFS or Device File system

- DOSFS, a FAT 12/16/32 MSDOS compatible file system.

- NFS Client, can mount NFS exported file systems.

- PIPE, a pipe file system.

- RFS, The RTEMS File System.

--Chris Johns and Joel Sherrill
  17 Feb 2010