[GIT PULL] overlayfs fixes for 4.1

From: Miklos Szeredi
Date: Tue May 26 2015 - 12:00:49 EST


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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/