Displaying 20 results from an estimated 103 matches for "526,7".
Did you mean:
26,7
2004 Jun 02
2
[Patch] for bug 81
Index: namei.c
===================================================================
--- namei.c (revision 968)
+++ namei.c (working copy)
@@ -526,7 +526,7 @@
status = -EBUSY;
- if (!empty_dir(inode)) {
+ if ( S_ISDIR (inode->i_mode) && !empty_dir(inode)) {
LOG_TRACE_STR ("dentry is not empty, cannot delete");
goto bail;
} else if (OCFS_I(inode)->open_hndl_c...
2006 Jun 11
1
Quotas and LDAP
...intain one value for the quota. As I
personally think that a quota given in bytes is more flexible, I would ask
whether the following change can be made to dovecot:
--- quota-maildir.c.orig 2006-06-11 19:15:55.000000000 +0200
+++ quota-maildir.c 2006-06-11 19:16:13.000000000 +0200
@@ -526,7 +526,7 @@
for (; *args != '\0'; args++) {
if (strncmp(*args, "storage=", 8) == 0) {
- size = strtoull(*args + 8, NULL, 10) * 1024;
+ size = strtoull(*args + 8, NULL, 10);
if (size != 0)...
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
...display this help and exit
@@ -484,7 +485,7 @@ test_stateless_pxe () {
boot_with_pxe "${nodename}" "standalone firstboot=no" "${workdir}"
expect -c '
-set timeout 120
+set timeout '${timeout_period}'
log_file -noappend stateless-pxe.log
@@ -526,7 +527,7 @@ test_stateless_pxe_with_nohd () {
boot_with_pxe "${nodename}" "firstboot=no" "${workdir}"
expect -c '
-set timeout 120
+set timeout '${timeout_period}'
log_file -noappend stateless-pxe.log
@@ -575,7 +576,7 @@ test_stateful_pxe (...
2014 Mar 19
1
[PATCH] virtio-blk: make the queue depth configurable
Couple more bikesheddy things:
Is there ever a reason to use a non __builtin_const_p(perms)?
Maybe that should be a BUILD_BUG_ON too
BUILD_BUG_ON(!builtin_const_p_perms)
My brain of little size gets confused by the
BUILD_BUG_ON_ZERO(foo) +
vs
BUILD_BUG_ON(foo);
as it just seems like more text for the same content.
Is there any value on the "_ZERO(foo) +" I don't understand?
2014 Mar 19
1
[PATCH] virtio-blk: make the queue depth configurable
Couple more bikesheddy things:
Is there ever a reason to use a non __builtin_const_p(perms)?
Maybe that should be a BUILD_BUG_ON too
BUILD_BUG_ON(!builtin_const_p_perms)
My brain of little size gets confused by the
BUILD_BUG_ON_ZERO(foo) +
vs
BUILD_BUG_ON(foo);
as it just seems like more text for the same content.
Is there any value on the "_ZERO(foo) +" I don't understand?
2017 Jan 12
2
[PATCH v2 1/2] drm/nouveau: Don't enabling polling twice on runtime resume
As it turns out, on cards that actually have CRTCs on them we're already
calling drm_kms_helper_poll_enable(drm_dev) from
nouveau_display_resume() before we call it in
nouveau_pmops_runtime_resume(). This leads us to accidentally trying to
enable polling twice, which results in a potential deadlock between the
RPM locks and drm_dev->mode_config.mutex if we end up trying to enable
polling
2019 Mar 30
1
[PATCH 2/5] x86: Convert some slow-path static_cpu_has() callers to boot_cpu_has()
...X86_FEATURE_RDTSCP))
write_rdtscp_aux(cpudata);
/* Store CPU and node number in limit. */
diff --git a/arch/x86/kernel/cpu/mce/inject.c b/arch/x86/kernel/cpu/mce/inject.c
index 3f82afd0f46f..a6026170af92 100644
--- a/arch/x86/kernel/cpu/mce/inject.c
+++ b/arch/x86/kernel/cpu/mce/inject.c
@@ -526,7 +526,7 @@ static void do_inject(void)
* only on the node base core. Refer to D18F3x44[NbMcaToMstCpuEn] for
* Fam10h and later BKDGs.
*/
- if (static_cpu_has(X86_FEATURE_AMD_DCM) &&
+ if (boot_cpu_has(X86_FEATURE_AMD_DCM) &&
b == 4 &&
boot_cpu_data.x86...
2016 Jul 28
0
[PATCH] osinfo: do not assume every media is an installer
...@@ struct osinfo {
int minor_version;
char *arch;
int is_live_disk;
+ bool is_installer;
#if 0
/* Not yet available in libosinfo database. */
diff --git a/src/inspect-fs-cd.c b/src/inspect-fs-cd.c
index bb28c0f..10e9d54 100644
--- a/src/inspect-fs-cd.c
+++ b/src/inspect-fs-cd.c
@@ -526,7 +526,8 @@ guestfs_int_check_installer_iso (guestfs_h *g, struct inspect_fs *fs,
/* Otherwise we matched an ISO, so fill in the fs fields. */
fs->mountable = safe_strdup (g, device);
fs->is_root = 1;
- fs->format = OS_FORMAT_INSTALLER;
+ if (osinfo->is_installer)
+ fs->...
2016 Apr 26
0
evolution libsoup and samba bug 765106
..._authorizat
priv->sso_available = FALSE;
}
} else {
- g_warning ("NTLM single-sign-on using %s failed", NTLM_AUTH);
+ g_debug ("NTLM single-sign-on using %s failed", NTLM_AUTH);
}
}
/* If NTLM single-sign-on fails, go back to original
@@ -525,7 +526,7 @@ soup_auth_ntlm_get_connection_authorizat
#ifdef USE_NTLM_AUTH
case SOUP_NTLM_SSO_FAILED:
/* Restart request without SSO */
- g_warning ("NTLM single-sign-on by using %s failed", NTLM_AUTH);
+ g_debug ("NTLM single-sign-on by using %s failed", NTLM_AUTH);
priv->...
2020 Mar 16
0
[PATCH 1/4] memremap: add an owner field to struct dev_pagemap
...vmem_pgmap, NUMA_NO_NODE);
if (IS_ERR(addr)) {
ret = PTR_ERR(addr);
diff --git a/drivers/gpu/drm/nouveau/nouveau_dmem.c b/drivers/gpu/drm/nouveau/nouveau_dmem.c
index 0ad5d87b5a8e..a4682272586e 100644
--- a/drivers/gpu/drm/nouveau/nouveau_dmem.c
+++ b/drivers/gpu/drm/nouveau/nouveau_dmem.c
@@ -526,6 +526,7 @@ nouveau_dmem_init(struct nouveau_drm *drm)
drm->dmem->pagemap.type = MEMORY_DEVICE_PRIVATE;
drm->dmem->pagemap.res = *res;
drm->dmem->pagemap.ops = &nouveau_dmem_pagemap_ops;
+ drm->dmem->pagemap.owner = drm->dev;
if (IS_ERR(devm_memremap_pages(dev...
2017 Jan 12
0
[PATCH 2/2] drm/nouveau: Handle fbcon suspend/resume in seperate worker
...n;
+
+ drm->fbcon_new_state = state;
+ /* Since runtime resume can happen as a result of a sysfs operation,
+ * it's possible we already have the console locked. So handle fbcon
+ * init/deinit from a seperate work thread
+ */
+ schedule_work(&drm->fbcon_work);
}
int
@@ -502,6 +526,7 @@ nouveau_fbcon_init(struct drm_device *dev)
return -ENOMEM;
drm->fbcon = fbcon;
+ INIT_WORK(&drm->fbcon_work, nouveau_fbcon_set_suspend_work);
drm_fb_helper_prepare(dev, &fbcon->helper, &nouveau_fbcon_helper_funcs);
--
2.9.3
2016 Dec 30
0
[PATCH net-next V3 3/3] tun: rx batching
...c
+++ b/drivers/net/tun.c
@@ -75,6 +75,10 @@
#include <linux/uaccess.h>
+static int rx_batched;
+module_param(rx_batched, int, 0444);
+MODULE_PARM_DESC(rx_batched, "Number of packets batched in rx");
+
/* Uncomment to enable debugging */
/* #define TUN_DEBUG 1 */
@@ -522,6 +526,7 @@ static void tun_queue_purge(struct tun_file *tfile)
while ((skb = skb_array_consume(&tfile->tx_array)) != NULL)
kfree_skb(skb);
+ skb_queue_purge(&tfile->sk.sk_write_queue);
skb_queue_purge(&tfile->sk.sk_error_queue);
}
@@ -1140,10 +1145,36 @@ static struct sk_...
2016 Dec 28
0
[PATCH net-next V2 3/3] tun: rx batching
...c
+++ b/drivers/net/tun.c
@@ -75,6 +75,10 @@
#include <linux/uaccess.h>
+static int rx_batched;
+module_param(rx_batched, int, 0444);
+MODULE_PARM_DESC(rx_batched, "Number of packets batched in rx");
+
/* Uncomment to enable debugging */
/* #define TUN_DEBUG 1 */
@@ -522,6 +526,7 @@ static void tun_queue_purge(struct tun_file *tfile)
while ((skb = skb_array_consume(&tfile->tx_array)) != NULL)
kfree_skb(skb);
+ skb_queue_purge(&tfile->sk.sk_write_queue);
skb_queue_purge(&tfile->sk.sk_error_queue);
}
@@ -1140,10 +1145,44 @@ static struct sk_...
2019 Jun 05
10
[PATCH 1/4] drm/virtio: Ensure cached capset entries are valid before copying.
...virtgpu_ioctl.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/virtio/virtgpu_ioctl.c b/drivers/gpu/drm/virtio/virtgpu_ioctl.c
index 949a264985fc..88c1ed57a3c5 100644
--- a/drivers/gpu/drm/virtio/virtgpu_ioctl.c
+++ b/drivers/gpu/drm/virtio/virtgpu_ioctl.c
@@ -526,7 +526,6 @@ static int virtio_gpu_get_caps_ioctl(struct drm_device *dev,
list_for_each_entry(cache_ent, &vgdev->cap_cache, head) {
if (cache_ent->id == args->cap_set_id &&
cache_ent->version == args->cap_set_ver) {
- ptr = cache_ent->caps_cache;
spin_...
2009 Jul 19
3
[PATCH] tftpd.c: write a pid file in standalone mode
...39;", optopt);
break;
@@ -507,9 +519,6 @@ int main(int argc, char **argv)
exit(EX_NOUSER);
}
- if (spec_umask || !unixperms)
- umask(my_umask);
-
#ifdef WITH_REGEX
if (rewrite_file)
rewrite_rules = read_remap_rules(rewrite_file);
@@ -517,6 +526,7 @@ int main(int argc, char **argv)
/* If we're running standalone, set up the input port */
if (standalone) {
+ FILE *pf;
#ifdef HAVE_IPV6
if (ai_fam != AF_INET6) {
#endif
@@ -702,6 +712,14 @@ int main(int argc, char **argv)
syslog(LOG_ERR, "can...
2012 Sep 03
3
[RFC 1/2] virtio_console: Add support for DMA memory allocation
...oid discard_port_data(struct port *port)
port->stats.bytes_discarded += buf->len - buf->offset;
if (add_inbuf(port->in_vq, buf) < 0) {
err++;
- free_buf(buf);
+ free_buf(port->in_vq, buf, PAGE_SIZE);
}
port->inbuf = NULL;
buf = get_inbuf(port);
@@ -485,7 +526,7 @@ static void reclaim_consumed_buffers(struct port *port)
return;
}
while ((buf = virtqueue_get_buf(port->out_vq, &len))) {
- kfree(buf);
+ free_databuf(port->portdev->vdev, len, buf);
port->outvq_full = false;
}
}
@@ -672,6 +713,8 @@ static ssize_t port_fops_write...
2012 Sep 03
3
[RFC 1/2] virtio_console: Add support for DMA memory allocation
...oid discard_port_data(struct port *port)
port->stats.bytes_discarded += buf->len - buf->offset;
if (add_inbuf(port->in_vq, buf) < 0) {
err++;
- free_buf(buf);
+ free_buf(port->in_vq, buf, PAGE_SIZE);
}
port->inbuf = NULL;
buf = get_inbuf(port);
@@ -485,7 +526,7 @@ static void reclaim_consumed_buffers(struct port *port)
return;
}
while ((buf = virtqueue_get_buf(port->out_vq, &len))) {
- kfree(buf);
+ free_databuf(port->portdev->vdev, len, buf);
port->outvq_full = false;
}
}
@@ -672,6 +713,8 @@ static ssize_t port_fops_write...
2009 May 28
0
[PATCH server] Use qpid for migration and add more debugging to taskomatic.
..., 0, :timeout => 60 * 4)
+ @logger.error "Error migrating VM: #{result.text}" unless result.status == 0
# undefine can fail, for instance, if we live migrated from A -> B, and
# then we are shutting down the VM on B (because it only has "transient"
@@ -526,7 +546,7 @@ class TaskOmatic
# difference between a real undefine failure and one because of migration
result = vm.undefine
- @logger.info "Error undefining old vm after migrate: #{result.text}" unless result.status == 0
+ @logger.info "Couldn't undefine...
2014 Aug 20
1
[RFC PATCH 03/11] PCI/MSI: Refactor pci_dev_msi_enabled()
...>
> entry = 0;
> - if (pci_dev_msi_enabled(pdev)) {
> + if (pci_dev_msi_enabled(pdev, MSI_TYPE | MSIX_TYPE)) {
> mdev->irq_info.mic_msi_map[entry] |= (1 << offset);
> mdev->intr_ops->program_msi_to_src_map(mdev,
> entry, offset, true);
> @@ -526,7 +526,7 @@ void mic_free_irq(struct mic_device *mdev,
> dev_warn(mdev->sdev->parent, "Error unregistering
> callback\n");
> return;
> }
> - if (pci_dev_msi_enabled(pdev)) {
> + if (pci_dev_msi_enabled(pdev, MSI_TYPE | MSIX_TYPE)) {
> mdev->i...
2014 Aug 20
1
[RFC PATCH 03/11] PCI/MSI: Refactor pci_dev_msi_enabled()
...>
> entry = 0;
> - if (pci_dev_msi_enabled(pdev)) {
> + if (pci_dev_msi_enabled(pdev, MSI_TYPE | MSIX_TYPE)) {
> mdev->irq_info.mic_msi_map[entry] |= (1 << offset);
> mdev->intr_ops->program_msi_to_src_map(mdev,
> entry, offset, true);
> @@ -526,7 +526,7 @@ void mic_free_irq(struct mic_device *mdev,
> dev_warn(mdev->sdev->parent, "Error unregistering
> callback\n");
> return;
> }
> - if (pci_dev_msi_enabled(pdev)) {
> + if (pci_dev_msi_enabled(pdev, MSI_TYPE | MSIX_TYPE)) {
> mdev->i...