aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorLeann Ogasawara <leann.ogasawara@canonical.com>2011-08-15 13:03:40 -0700
committerJohn Rigby <john.rigby@linaro.org>2011-11-16 14:25:25 -0700
commitb62cd44da664376809e514c38050157be3a430eb (patch)
tree7e6eee7bcbec23f3f14e808ba82acdf06d08ad1f /fs
parent2dcb85f515538c9b7d4334a9c38ccfa2da7feb96 (diff)
downloadlinux-linaro-precise-b62cd44da664376809e514c38050157be3a430eb.tar.gz
Revert "UBUNTU: ubuntu: overlayfs -- ovl: make lower mount read-only"
This reverts commit 9fa5e35fb1ef0df154866d299b351c5cb25ccf5d.
Diffstat (limited to 'fs')
-rw-r--r--fs/overlayfs/super.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index 508cf19a217..a64f0f4820e 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -569,12 +569,6 @@ static int ovl_fill_super(struct super_block *sb, void *data, int silent)
goto out_put_upper_mnt;
}
- /*
- * Make lower_mnt R/O. That way fchmod/fchown on lower file
- * will fail instead of modifying lower fs.
- */
- ufs->lower_mnt->mnt_flags |= MNT_READONLY;
-
/* If the upper fs is r/o, we mark overlayfs r/o too */
if (ufs->upper_mnt->mnt_sb->s_flags & MS_RDONLY)
sb->s_flags |= MS_RDONLY;