diff options
Diffstat (limited to 'api/src/glfs-handleops.c')
-rw-r--r-- | api/src/glfs-handleops.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/api/src/glfs-handleops.c b/api/src/glfs-handleops.c index 38d8ccba041..47f2139c140 100644 --- a/api/src/glfs-handleops.c +++ b/api/src/glfs-handleops.c @@ -1881,18 +1881,6 @@ pub_glfs_h_poll_upcall (struct glfs *fs, struct callback_arg *up_arg) __GLFS_ENTRY_VALIDATE_FS (fs, err); - /* check if upcalls are enabled */ - if (!fs->upcall_features) { - errno = ENOTSUP; - goto restore; - } - - /* check if GF_UPCALL_CACHE_INVALIDATION is supported */ - if (!(fs->upcall_features & (1 << GF_UPCALL_CACHE_INVALIDATION))) { - errno = ENOTSUP; - goto restore; - } - /* get the active volume */ subvol = glfs_active_subvol (fs); |