From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756695AbcIMOTw (ORCPT ); Tue, 13 Sep 2016 10:19:52 -0400 Received: from mail.sigma-star.at ([95.130.255.111]:45996 "EHLO mail.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750951AbcIMOTv (ORCPT ); Tue, 13 Sep 2016 10:19:51 -0400 From: Richard Weinberger To: linux-mtd@lists.infradead.org Cc: linux-kernel@vger.kernel.org, richard@nod.at, dedekind1@gmail.com, adrian.hunter@intel.com Subject: [PATCH 0/4] ubifs: Add overlayfs support Date: Tue, 13 Sep 2016 16:18:54 +0200 Message-Id: <1473776338-18816-1-git-send-email-richard@nod.at> X-Mailer: git-send-email 2.7.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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