From: Amir Goldstein <amir73il@gmail.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-unionfs@vger.kernel.org
Subject: [PATCH 0/3] ovl: corner cases of upper with no xattr support
Date: Wed, 17 May 2017 00:12:38 +0300 [thread overview]
Message-ID: <1494969161-30267-1-git-send-email-amir73il@gmail.com> (raw)
Miklos,
Found one more bug in ovl_set_impure() patch besides the noxattr case.
Added the mount time check and piggy backed the noxattr checks for
setting opaque and redirect.
Checked that all cases work as expected with and without CONFIG_TMPFS_XATTR.
Amir.
Amir Goldstein (3):
ovl: fix wrong error handling of ovl_set_impure()
ovl: check on mount time if upper fs supports setting xattr
ovl: handle rename when upper doesn't supports xattr
fs/overlayfs/copy_up.c | 34 ++++++++++++++++++++++++----------
fs/overlayfs/dir.c | 33 +++++++++++++++++++++++++--------
fs/overlayfs/overlayfs.h | 5 +++++
fs/overlayfs/ovl_entry.h | 2 +-
fs/overlayfs/super.c | 6 ++++++
fs/overlayfs/util.c | 9 ++++++++-
6 files changed, 69 insertions(+), 20 deletions(-)
--
2.7.4
next reply other threads:[~2017-05-16 21:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-16 21:12 Amir Goldstein [this message]
2017-05-16 21:12 ` [PATCH 1/3] ovl: fix wrong error handling of ovl_set_impure() Amir Goldstein
2017-05-16 21:12 ` [PATCH 2/3] ovl: check on mount time if upper fs supports setting xattr Amir Goldstein
2017-05-16 21:12 ` [PATCH 3/3] ovl: handle rename when upper doesn't supports xattr Amir Goldstein
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=1494969161-30267-1-git-send-email-amir73il@gmail.com \
--to=amir73il@gmail.com \
--cc=linux-unionfs@vger.kernel.org \
--cc=miklos@szeredi.hu \
/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