diff options
author | mckusick <mckusick@FreeBSD.org> | 2012-03-25 00:02:37 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2012-03-25 00:02:37 +0000 |
commit | e6ce77b8ea66bba7bcb79a01ae6d6cdff763ff4f (patch) | |
tree | c6eb532f373fe63d2db8d2cd447bf0bb69ae2d21 /sys/ufs/ffs/ffs_vfsops.c | |
parent | dfeac3e82445b83c514221770b5f546e26f11219 (diff) | |
download | FreeBSD-src-e6ce77b8ea66bba7bcb79a01ae6d6cdff763ff4f.zip FreeBSD-src-e6ce77b8ea66bba7bcb79a01ae6d6cdff763ff4f.tar.gz |
Add a third flags argument to ffs_syncvnode to avoid a possible conflict
with MNT_WAIT flags that passed in its second argument. This will be
MFC'ed together with r232351.
Discussed with: kib
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index a12fd83..0475600 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1505,7 +1505,7 @@ loop: } continue; } - if ((error = ffs_syncvnode(vp, waitfor)) != 0) + if ((error = ffs_syncvnode(vp, waitfor, 0)) != 0) allerror = error; vput(vp); MNT_ILOCK(mp); |