Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140074
b: refs/heads/master
c: 5e10657
h: refs/heads/master
v: v3
  • Loading branch information
Felix Blyakher committed Jan 27, 2009
1 parent 3c5232e commit 1f25e97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 957274d7ce39eb9dab3666fc5c9f634c4d9fbf9d
refs/heads/master: 5e1065726e0350097d8fe18dc2fcf86516a0a1f2
6 changes: 5 additions & 1 deletion trunk/fs/xfs/linux-2.6/xfs_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,11 @@ xfs_quiesce_attr(
/* flush inodes and push all remaining buffers out to disk */
xfs_quiesce_fs(mp);

ASSERT_ALWAYS(atomic_read(&mp->m_active_trans) == 0);
/*
* Just warn here till VFS can correctly support
* read-only remount without racing.
*/
WARN_ON(atomic_read(&mp->m_active_trans) != 0);

/* Push the superblock and write an unmount record */
error = xfs_log_sbcount(mp, 1);
Expand Down

0 comments on commit 1f25e97

Please sign in to comment.