linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ubifs: Add overlayfs support
@ 2016-09-14 20:28 Richard Weinberger
  2016-09-14 20:28 ` [PATCH 1/4] ubifs: Implement O_TMPFILE Richard Weinberger
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Richard Weinberger @ 2016-09-14 20:28 UTC (permalink / raw)
  To: linux-mtd; +Cc: linux-kernel, richard, dedekind1, adrian.hunter, nbd

To support overlayfs in a proper way a filesystem has to offer support
for DT_CHR, RENAME_WHITEOUT and RENAME_EXCHANGE.
While UBIFS supports DT_CHR it lacks support for RENAME_WHITEOUT and
RENAME_EXCHANGE. This patch series implement the missing bits.
RENAME_WHITEOUT itself depends on O_TMPFILE, therefore O_TMPFILE is now
also supported.

Changes since v1:
 - Build fix for CONFIG_LOCKDEP=y
 - Fix for wrong dentry name length calculation in ubifs_jnl_xrename()
 - Fix for wrong directory link count after RENAME_EXCHANGE

Richard Weinberger (4):
  ubifs: Implement O_TMPFILE
  ubifs: Implement RENAME_WHITEOUT
  ubifs: Implement RENAME_EXCHANGE
  ubifs: Use move variable in ubifs_rename()

 fs/ubifs/dir.c     | 242 +++++++++++++++++++++++++++++++++++++++++++++++++----
 fs/ubifs/journal.c | 188 +++++++++++++++++++++++++++++++++++++----
 fs/ubifs/ubifs.h   |   8 +-
 3 files changed, 404 insertions(+), 34 deletions(-)

-- 
2.7.3

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 0/4] ubifs: Add overlayfs support
@ 2016-09-13 14:18 Richard Weinberger
  2016-09-13 14:18 ` [PATCH 1/4] ubifs: Implement O_TMPFILE Richard Weinberger
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Weinberger @ 2016-09-13 14:18 UTC (permalink / raw)
  To: linux-mtd; +Cc: linux-kernel, richard, dedekind1, adrian.hunter

To support overlayfs in a proper way a filesystem has to offer support
for DT_CHR, RENAME_WHITEOUT and RENAME_EXCHANGE.
While UBIFS supports DT_CHR it lacks support for RENAME_WHITEOUT and
RENAME_EXCHANGE. This patch series implement the missing bits.
RENAME_WHITEOUT itself depends on O_TMPFILE, therefore O_TMPFILE is now
also supported.

Richard Weinberger (4):
  ubifs: Implement O_TMPFILE
  ubifs: Implement RENAME_WHITEOUT
  ubifs: Implement RENAME_EXCHANGE
  ubifs: Use move variable in ubifs_rename()

 fs/ubifs/dir.c     | 231 ++++++++++++++++++++++++++++++++++++++++++++++++-----
 fs/ubifs/journal.c | 188 +++++++++++++++++++++++++++++++++++++++----
 fs/ubifs/ubifs.h   |   7 +-
 3 files changed, 392 insertions(+), 34 deletions(-)

-- 
2.7.3

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

end of thread, other threads:[~2016-09-15  9:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14 20:28 [PATCH v2 0/4] ubifs: Add overlayfs support Richard Weinberger
2016-09-14 20:28 ` [PATCH 1/4] ubifs: Implement O_TMPFILE Richard Weinberger
2016-09-14 20:28 ` [PATCH 2/4] ubifs: Implement RENAME_WHITEOUT Richard Weinberger
2016-09-14 20:28 ` [PATCH 3/4] ubifs: Implement RENAME_EXCHANGE Richard Weinberger
2016-09-14 20:28 ` [PATCH 4/4] ubifs: Use move variable in ubifs_rename() Richard Weinberger
2016-09-15  9:35 ` [PATCH v2 0/4] ubifs: Add overlayfs support Felix Fietkau
  -- strict thread matches above, loose matches on Subject: below --
2016-09-13 14:18 [PATCH " Richard Weinberger
2016-09-13 14:18 ` [PATCH 1/4] ubifs: Implement O_TMPFILE Richard Weinberger

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).