linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Refactor file_systems to use the kernel's list
       [not found] <20190504094212.9945-1-carmeli.tamir@gmail.com>
@ 2019-05-04  9:42 ` Carmeli Tamir
  0 siblings, 0 replies; 2+ messages in thread
From: Carmeli Tamir @ 2019-05-04  9:42 UTC (permalink / raw)
  To: carmeli.tamir, viro, linux-fsdevel, linux-kernel

struct file_system_type defines a next field which is used to link the file_system_type structs registered to the kernel. This patch set replaces the propietry linked list implementation with the kernel's list.h.

This change makes clearer interfaces and code (e.g. the change in register_filesystem and find_filesystem), and eliminates unnecessary usage of * and & operators.

Tested by comparing the lists in /proc/filesystems.

Carmeli Tamir (2):
  Use list.h instead of file_system_type next
  Changed unsigned param type to unsigned int

 fs/filesystems.c   | 69 ++++++++++++++++++++++++----------------------
 include/linux/fs.h |  2 +-
 2 files changed, 37 insertions(+), 34 deletions(-)

-- 
2.19.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 0/2] Refactor file_systems to use the kernel's list
@ 2019-05-04  9:45 Carmeli Tamir
  0 siblings, 0 replies; 2+ messages in thread
From: Carmeli Tamir @ 2019-05-04  9:45 UTC (permalink / raw)
  To: carmeli.tamir, viro, linux-fsdevel, linux-kernel

struct file_system_type defines a next field which is used to link the file_system_type structs registered to the kernel. This patch set replaces the propietry linked list implementation with the kernel's list.h.

This change makes clearer interfaces and code (e.g. the change in register_filesystem and find_filesystem), and eliminates unnecessary usage of * and & operators.

Tested by comparing the lists in /proc/filesystems.

Carmeli Tamir (2):
  Use list.h instead of file_system_type next
  Changed unsigned param type to unsigned int

 fs/filesystems.c   | 69 ++++++++++++++++++++++++----------------------
 include/linux/fs.h |  2 +-
 2 files changed, 37 insertions(+), 34 deletions(-)

-- 
2.19.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-04  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190504094212.9945-1-carmeli.tamir@gmail.com>
2019-05-04  9:42 ` [PATCH 0/2] Refactor file_systems to use the kernel's list Carmeli Tamir
2019-05-04  9:45 Carmeli Tamir

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).