From: Dave Hansen Date: Fri, 15 Feb 2008 22:37:32 +0000 (-0800) Subject: [PATCH] r/o bind mounts: drop write during emergency remount X-Git-Tag: v2.6.26-rc1~1134^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49e0d02cf018d4edf24bfc8531a816a26367e4ce;p=pandora-kernel.git [PATCH] r/o bind mounts: drop write during emergency remount The emergency remount code forcibly removes FMODE_WRITE from filps. The r/o bind mount code notices that this was done without a proper mnt_drop_write() and properly gives a warning. This patch does a mnt_drop_write() to keep everything balanced. Acked-by: Al Viro Signed-off-by: Christoph Hellwig Signed-off-by: Dave Hansen Signed-off-by: Al Viro --- Reading git-diff-tree failed