nfs_clbio.c (e477abf734cc777a55286bfbd6b80a6760c96acf) nfs_clbio.c (1f60bfd8227f0972d61f5977ba62452335b757e0)
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 1357 unchanged lines hidden (view full) ---

1366 }
1367
1368 error = vinvalbuf(vp, flags, slpflag, 0);
1369 while (error) {
1370 if (intrflg && (error = newnfs_sigintr(nmp, td)))
1371 goto out;
1372 error = vinvalbuf(vp, flags, 0, slptimeo);
1373 }
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 1357 unchanged lines hidden (view full) ---

1366 }
1367
1368 error = vinvalbuf(vp, flags, slpflag, 0);
1369 while (error) {
1370 if (intrflg && (error = newnfs_sigintr(nmp, td)))
1371 goto out;
1372 error = vinvalbuf(vp, flags, 0, slptimeo);
1373 }
1374 if (NFSHASPNFS(nmp))
1375 nfscl_layoutcommit(vp, td);
1374 mtx_lock(&np->n_mtx);
1375 if (np->n_directio_asyncwr == 0)
1376 np->n_flag &= ~NMODIFIED;
1377 mtx_unlock(&np->n_mtx);
1378out:
1379 ncl_downgrade_vnlock(vp, old_lock);
1380 return error;
1381}

--- 481 unchanged lines hidden ---
1376 mtx_lock(&np->n_mtx);
1377 if (np->n_directio_asyncwr == 0)
1378 np->n_flag &= ~NMODIFIED;
1379 mtx_unlock(&np->n_mtx);
1380out:
1381 ncl_downgrade_vnlock(vp, old_lock);
1382 return error;
1383}

--- 481 unchanged lines hidden ---