Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130822
b: refs/heads/master
c: 43f3f05
h: refs/heads/master
v: v3
  • Loading branch information
Felix Blyakher committed Feb 3, 2009
1 parent 40650cc commit ccaeeb4
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: 6139a2360987f55e4490a7813cf69df74ec8b93a
refs/heads/master: 43f3f057c56d030546145696627f13f95735be95
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 ccaeeb4

Please sign in to comment.