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