mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
Remove SYNC_ATTR check
This flag does not need to be support under Linux. As the comment says it was only there to support fsflush() for old filesystem like UFS. This is not needed under Linux.
This commit is contained in:
parent
e15c023014
commit
cb28b3494e
@ -79,15 +79,6 @@ zfs_sync(vfs_t *vfsp, short flag, cred_t *cr)
|
||||
if (panicstr)
|
||||
return (0);
|
||||
|
||||
/*
|
||||
* SYNC_ATTR is used by fsflush() to force old filesystems like UFS
|
||||
* to sync metadata, which they would otherwise cache indefinitely.
|
||||
* Semantically, the only requirement is that the sync be initiated.
|
||||
* The DMU syncs out txgs frequently, so there's nothing to do.
|
||||
*/
|
||||
if (flag & SYNC_ATTR)
|
||||
return (0);
|
||||
|
||||
if (vfsp != NULL) {
|
||||
/*
|
||||
* Sync a specific filesystem.
|
||||
|
Loading…
Reference in New Issue
Block a user