diff options
author | Christoph Hellwig <hch@lst.de> | 2008-12-03 12:20:22 +0100 |
---|---|---|
committer | Niv Sardi <xaiki@sgi.com> | 2008-12-04 15:39:19 +1100 |
commit | 2234d54d3d855d6ffae88a24772a9389d6755e0c (patch) | |
tree | 7b08b29770cc9aa80d34b55ec811d190dd2ba70e /fs/xfs/linux-2.6/xfs_super.h | |
parent | ddcd856d81861a523d79d077facd875da1f66792 (diff) |
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 <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.h')
0 files changed, 0 insertions, 0 deletions