From: Richard Weinberger <richard@nod.at>
To: linux-mtd@lists.infradead.org
Cc: linux-kernel@vger.kernel.org, richard@nod.at,
dedekind1@gmail.com, adrian.hunter@intel.com, nbd@nbd.name
Subject: [PATCH v2 0/4] ubifs: Add overlayfs support
Date: Wed, 14 Sep 2016 22:28:48 +0200 [thread overview]
Message-ID: <1473884932-23689-1-git-send-email-richard@nod.at> (raw)
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
next reply other threads:[~2016-09-14 20:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-14 20:28 Richard Weinberger [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473884932-23689-1-git-send-email-richard@nod.at \
--to=richard@nod.at \
--cc=adrian.hunter@intel.com \
--cc=dedekind1@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=nbd@nbd.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).