Commit f6d3cef7 authored by Nathan Scott's avatar Nathan Scott Committed by Linus Torvalds

[XFS] Reinstate missing frozen check on write, fixes snapshots and

xfs_freeze.

SGI-PV: 925910
SGI-Modid: xfs-linux-melb:xfs-kern:21407a
Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
parent b4232896
......@@ -676,6 +676,8 @@ xfs_write(
if (XFS_FORCED_SHUTDOWN(mp))
return -EIO;
fs_check_frozen(vp->v_vfsp, SB_FREEZE_WRITE);
if (ioflags & IO_ISDIRECT) {
xfs_buftarg_t *target =
(xip->i_d.di_flags & XFS_DIFLAG_REALTIME) ?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment