diff options
author | Nathan Scott <nathans@sgi.com> | 2006-06-09 02:48:30 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-06-09 02:48:30 -0400 |
commit | b83bd1388133e914c38bd31d69bc90143e6ab10c (patch) | |
tree | 3f7fecf3913d1aa8216e06f109746c63ec0ac501 /fs/xfs/xfs_log.c | |
parent | 932f2c323196c214e645d5a572a1d7b562c0f93f (diff) |
[XFS] Resolve a namespace collision on vfs/vfsops for FreeBSD porters.
SGI-PV: 9533338
SGI-Modid: xfs-linux-melb:xfs-kern:26106a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 7d882d6c7d49..9f70ab3e0983 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -498,9 +498,8 @@ xfs_log_mount(xfs_mount_t *mp, | |||
498 | * just worked. | 498 | * just worked. |
499 | */ | 499 | */ |
500 | if (!(mp->m_flags & XFS_MOUNT_NORECOVERY)) { | 500 | if (!(mp->m_flags & XFS_MOUNT_NORECOVERY)) { |
501 | int error; | 501 | bhv_vfs_t *vfsp = XFS_MTOVFS(mp); |
502 | vfs_t *vfsp = XFS_MTOVFS(mp); | 502 | int error, readonly = (vfsp->vfs_flag & VFS_RDONLY); |
503 | int readonly = (vfsp->vfs_flag & VFS_RDONLY); | ||
504 | 503 | ||
505 | if (readonly) | 504 | if (readonly) |
506 | vfsp->vfs_flag &= ~VFS_RDONLY; | 505 | vfsp->vfs_flag &= ~VFS_RDONLY; |
@@ -816,7 +815,7 @@ xfs_log_need_covered(xfs_mount_t *mp) | |||
816 | SPLDECL(s); | 815 | SPLDECL(s); |
817 | int needed = 0, gen; | 816 | int needed = 0, gen; |
818 | xlog_t *log = mp->m_log; | 817 | xlog_t *log = mp->m_log; |
819 | vfs_t *vfsp = XFS_MTOVFS(mp); | 818 | bhv_vfs_t *vfsp = XFS_MTOVFS(mp); |
820 | 819 | ||
821 | if (fs_frozen(vfsp) || XFS_FORCED_SHUTDOWN(mp) || | 820 | if (fs_frozen(vfsp) || XFS_FORCED_SHUTDOWN(mp) || |
822 | (vfsp->vfs_flag & VFS_RDONLY)) | 821 | (vfsp->vfs_flag & VFS_RDONLY)) |