* May enter XFS which generates a warning when PF_FSTRANS is set.
* To avoid this the flag is cleared over vfs_sync() and then reset.
*/
- fstrans = spl_fstrans_check();
+ fstrans = __spl_pf_fstrans_check();
if (fstrans)
- current->flags &= ~(PF_FSTRANS);
+ current->flags &= ~(__SPL_PF_FSTRANS);
error = -spl_filp_fsync(vp->v_file, datasync);
if (fstrans)
- current->flags |= PF_FSTRANS;
+ current->flags |= __SPL_PF_FSTRANS;
return (error);
} /* vn_fsync() */