From: Christoph Hellwig Date: Wed, 3 Dec 2008 11:20:22 +0000 (+0100) Subject: remove useless mnt_want_write call in xfs_write X-Git-Tag: v2.6.29-rc1~552^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2234d54d3d855d6ffae88a24772a9389d6755e0c;p=pandora-kernel.git remove useless mnt_want_write call in xfs_write When mnt_want_write was introduced a call to it was added around xfs_ichgtime, but there is no need for this because a file can't be open read/write on a r/o mount, and a mount can't degrade r/o while we still have files open for writing. As the mnt_want_write changes were never merged into the CVS tree this patch is for mainline only. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Niv Sardi --- Reading git-diff-tree failed