return true;
}
+#ifdef HAVE_FS_IOC_GETFLAGS
bool file_dev::check_for_attr(const char *vol_name, int attr)
{
int tmp_fd, ioctl_ret, get_attr;
return ret;
}
+#else
+bool file_dev::check_for_attr(const char *vol_name, int attr)
+{
+ return true;
+}
+#endif // HAVE_FS_IOC_GETFLAGS
+#ifdef HAVE_FS_IOC_SETFLAGS
bool file_dev::modify_fattr(const char *vol_name, int attr, bool set)
{
bool ret = false;
}
return ret;
}
+#else
+bool file_dev::modify_fattr(const char *vol_name, int attr, bool set)
+{
+ return true;
+}
+#endif // HAVE_FS_IOC_SETFLAGS
bool file_dev::set_fattr(const char *vol_name, int attr)
{