Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124882
b: refs/heads/master
c: bac8dca
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Niv Sardi committed Dec 1, 2008
1 parent e82d037 commit 5f2b69e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: b5a20aa2657063cbf3b47fc700603180de4bb554
refs/heads/master: bac8dca9f9b1dfcf9c4ecb4f9ca17185b828cc20
7 changes: 5 additions & 2 deletions trunk/fs/xfs/xfs_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -3569,7 +3569,8 @@ xfs_log_force_umount(
if (!log ||
log->l_flags & XLOG_ACTIVE_RECOVERY) {
mp->m_flags |= XFS_MOUNT_FS_SHUTDOWN;
XFS_BUF_DONE(mp->m_sb_bp);
if (mp->m_sb_bp)
XFS_BUF_DONE(mp->m_sb_bp);
return 0;
}

Expand All @@ -3590,7 +3591,9 @@ xfs_log_force_umount(
spin_lock(&log->l_icloglock);
spin_lock(&log->l_grant_lock);
mp->m_flags |= XFS_MOUNT_FS_SHUTDOWN;
XFS_BUF_DONE(mp->m_sb_bp);
if (mp->m_sb_bp)
XFS_BUF_DONE(mp->m_sb_bp);

/*
* This flag is sort of redundant because of the mount flag, but
* it's good to maintain the separation between the log and the rest
Expand Down

0 comments on commit 5f2b69e

Please sign in to comment.