[patch 02/22] remove useless mnt_want_write call in xfs_write
Dave Chinner
david at fromorbit.com
Tue Dec 2 20:11:02 CST 2008
On Tue, Dec 02, 2008 at 11:04:32AM -0500, Christoph Hellwig wrote:
>
> 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 <hch at lst.de>
Reviewed-by: Dave Chinner <david at fromorbit.com>
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list