mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/14] UBIFS update
@ 2018-10-02 14:03 Sascha Hauer
  2018-10-02 14:03 ` [PATCH 01/14] Add linux/slab.h Sascha Hauer
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: Sascha Hauer @ 2018-10-02 14:03 UTC (permalink / raw)
  To: Barebox List

This series updates the UBIFS codebase to Linux-4.19-rc6. Several
preparatory patches first update some fs code and Linux wrappers to
better integrate the new UBIFS code.

Before the new UBIFS code is added I removed much of the stuff from
UBIFS that is not needed for our readonly implementation, like lpt,
garbage collector and ltab. This hopefully reduces the code one has
to look at when UBIFS is updated again.

Also I ran a "unifdef -D__BAREBOX__ -m fs/ubifs/*" over the code since
the ifdeffery turns the UBIFS code into unreadable garbage. If one is
interested in the differences between the barebox and Linux codebase
it is easy enough to copy the files from Linux-4.19-rc6 over to barebox
and see the diff. while updating the code I turned annotated every
removed function with:

/*
 * removed in barebox
void some_ubifs_function(void)
 */

When copying an updated version over it a git diff usually gives the
right hint that the function should be removed in barebox.

Sascha

Sascha Hauer (14):
  Add linux/slab.h
  Add kmemdup
  Add more mutex no-ops
  fs: let dir_emit_dots return int
  fs: Add fscrypt no-op headers
  fs: Add SB_* flags
  fs: implement file_inode
  fs: implement iget_locked and iget_failed
  fs: implement clear_nlink and set_nlink
  fs: ubifs: remove not needed code
  compiler: Update to v4.19-rc6
  vsprintf: implement %pV
  ubifs: Update to v4.18-rc6
  fs: ubifs: optionally allow to mount UBIFS images with encrypted files

 fs/fs.c                         |   41 +
 fs/ubifs/Makefile               |    8 +-
 fs/ubifs/budget.c               |  729 --------
 fs/ubifs/debug.c                | 2812 +++----------------------------
 fs/ubifs/debug.h                |  110 +-
 fs/ubifs/dir.c                  |  298 +++-
 fs/ubifs/gc.c                   |  976 -----------
 fs/ubifs/io.c                   |  853 +---------
 fs/ubifs/key.h                  |   53 +-
 fs/ubifs/log.c                  |  678 +-------
 fs/ubifs/lprops.c               | 1313 ---------------
 fs/ubifs/lpt.c                  | 2282 -------------------------
 fs/ubifs/lpt_commit.c           | 2073 ++---------------------
 fs/ubifs/master.c               |   69 +-
 fs/ubifs/misc.c                 |   69 +
 fs/ubifs/misc.h                 |   78 +-
 fs/ubifs/orphan.c               |  946 -----------
 fs/ubifs/recovery.c             |  523 +-----
 fs/ubifs/replay.c               |  198 +--
 fs/ubifs/sb.c                   |  530 +-----
 fs/ubifs/scan.c                 |   19 +-
 fs/ubifs/super.c                | 1642 ++----------------
 fs/ubifs/tnc.c                  | 1460 ++++------------
 fs/ubifs/tnc_misc.c             |   70 +-
 fs/ubifs/ubifs-media.h          |   54 +-
 fs/ubifs/ubifs.c                |   44 +-
 fs/ubifs/ubifs.h                |  334 ++--
 include/linux/barebox-wrapper.h |   13 +-
 include/linux/compiler-clang.h  |   42 +-
 include/linux/compiler-gcc.h    |  211 +--
 include/linux/compiler-intel.h  |   14 +-
 include/linux/compiler.h        |  440 ++---
 include/linux/compiler_types.h  |  285 ++++
 include/linux/fs.h              |   31 +-
 include/linux/fscrypt.h         |  173 ++
 include/linux/fscrypt_notsupp.h |  205 +++
 include/linux/mutex.h           |    3 +
 include/linux/slab.h            |  104 ++
 include/linux/string.h          |    7 +
 include/linux/types.h           |    3 +
 include/printk.h                |    5 +
 include/string.h                |    1 -
 lib/vsprintf.c                  |   15 +
 43 files changed, 2886 insertions(+), 16928 deletions(-)
 delete mode 100644 fs/ubifs/budget.c
 delete mode 100644 fs/ubifs/gc.c
 delete mode 100644 fs/ubifs/lprops.c
 delete mode 100644 fs/ubifs/lpt.c
 create mode 100644 fs/ubifs/misc.c
 delete mode 100644 fs/ubifs/orphan.c
 create mode 100644 include/linux/compiler_types.h
 create mode 100644 include/linux/fscrypt.h
 create mode 100644 include/linux/fscrypt_notsupp.h
 create mode 100644 include/linux/slab.h

-- 
2.19.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2018-10-09 15:21 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-02 14:03 [PATCH 00/14] UBIFS update Sascha Hauer
2018-10-02 14:03 ` [PATCH 01/14] Add linux/slab.h Sascha Hauer
2018-10-02 14:03 ` [PATCH 02/14] Add kmemdup Sascha Hauer
2018-10-02 14:03 ` [PATCH 03/14] Add more mutex no-ops Sascha Hauer
2018-10-02 14:03 ` [PATCH 04/14] fs: let dir_emit_dots return int Sascha Hauer
2018-10-02 14:03 ` [PATCH 05/14] fs: Add fscrypt no-op headers Sascha Hauer
2018-10-02 14:03 ` [PATCH 06/14] fs: Add SB_* flags Sascha Hauer
2018-10-02 14:03 ` [PATCH 07/14] fs: implement file_inode Sascha Hauer
2018-10-02 14:03 ` [PATCH 08/14] fs: implement iget_locked and iget_failed Sascha Hauer
2018-10-02 14:03 ` [PATCH 09/14] fs: implement clear_nlink and set_nlink Sascha Hauer
2018-10-02 14:03 ` [PATCH 10/14] fs: ubifs: remove not needed code Sascha Hauer
2018-10-02 14:04 ` [PATCH 11/14] compiler: Update to v4.19-rc6 Sascha Hauer
2018-10-02 14:04 ` [PATCH 12/14] vsprintf: implement %pV Sascha Hauer
2018-10-02 14:04 ` [PATCH 13/14] ubifs: Update to v4.18-rc6 Sascha Hauer
2018-10-02 14:04 ` [PATCH 14/14] fs: ubifs: optionally allow to mount UBIFS images with encrypted files Sascha Hauer
2018-10-03 20:50 ` [PATCH 00/14] UBIFS update Sam Ravnborg
2018-10-08  7:36   ` Sascha Hauer
2018-10-09 15:19     ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox