diff options
author | Brian Behlendorf <[email protected]> | 2011-01-06 14:15:48 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-02-10 09:27:20 -0800 |
commit | cb28b3494e88e0e43c43588fccfa6526344b9a64 (patch) | |
tree | 0dee1d4fd0c27f669dc50a78821f12c25099a4b0 | |
parent | e15c02301489477c9201a80afac46791d20bd070 (diff) |
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.
-rw-r--r-- | module/zfs/zfs_vfsops.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/module/zfs/zfs_vfsops.c b/module/zfs/zfs_vfsops.c index 8016766d1..c138b6ffe 100644 --- a/module/zfs/zfs_vfsops.c +++ b/module/zfs/zfs_vfsops.c @@ -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. |