2015-05-26 16:00:47

by Miklos Szeredi

[permalink] [raw]
Subject: [GIT PULL] overlayfs fixes for 4.1

Hi Linus,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-next

Overlayfs rmdir() failed to check for emptiness in one case; this was introduced
in 4.0. The other bug was there since day one: failure to mount if upper fs is
full, which bit some OpenWRT folks.

Thanks,
Miklos

---
Miklos Szeredi (2):
ovl: don't remove non-empty opaque directory
ovl: mount read-only if workdir can't be created

---
fs/overlayfs/copy_up.c | 3 +++
fs/overlayfs/dir.c | 33 ++++++++++++++++++++++++++++-----
fs/overlayfs/super.c | 10 +++++-----
3 files changed, 36 insertions(+), 10 deletions(-)