Displaying 20 results from an estimated 500 matches similar to: "[PATCH supermin] ext2: fix printf formatters"
2016 Jan 22
1
[supermin] [PATCH] ext2: check for needed block size
Check early that there are enough free blocks to store each file,
erroring out with ENOSPC if not; this avoids slightly more obscure
errors later on.
---
src/ext2fs-c.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/src/ext2fs-c.c b/src/ext2fs-c.c
index f01ca9d..e45980a 100644
--- a/src/ext2fs-c.c
+++ b/src/ext2fs-c.c
@@ -52,6 +52,9 @@
/* fts.h in glibc is broken,
2014 Jul 30
2
[PATCH 1/3] ext2: create a struct for the OCaml 't' type
Use an helper struct for holding the ext2_filsys variable, so that can
be used to add more data.
---
src/ext2fs-c.c | 77 +++++++++++++++++++++++++++++++---------------------------
1 file changed, 41 insertions(+), 36 deletions(-)
diff --git a/src/ext2fs-c.c b/src/ext2fs-c.c
index 70755c9..8eab24c 100644
--- a/src/ext2fs-c.c
+++ b/src/ext2fs-c.c
@@ -52,6 +52,11 @@
/* fts.h in glibc is broken,
2016 Jul 06
0
[PATCH] ext2: Don't load whole files into memory when copying to the appliance (RHBZ#1113065).
Obviously for very large files this is going to be a problem, as well
as not being very cache efficient.
libext2fs can handle writes to parts of files just fine so copy files
in blocks.
Also demote the "Permission denied" error to a warning, and add some
explanatory text telling people not to use sudo.
---
src/ext2fs-c.c | 127 +++++++++++++++++++++++++++++++++++----------------------
2009 Nov 19
0
[LLVMdev] More questions on CompilerDriver.
Hi Sanjiv,
On Thu, Nov 19, 2009 at 5:07 AM, Sanjiv Gupta
<sanjiv.gupta at microchip.com> wrote:
> Hi Mikhail,
>
> I was trying to figure out how to do the following in compiler driver.
>
> 1. mcc16 driver has a -p <device_name> option. Now from this device_name I
> want to be able to construct a file name like "device_name.o" and pass that
> to the
2009 Nov 19
3
[LLVMdev] More questions on CompilerDriver.
Hi Mikhail,
I was trying to figure out how to do the following in compiler driver.
1. mcc16 driver has a -p <device_name> option. Now from this
device_name I want to be able to construct a file name like
"device_name.o" and pass that to the linker. Unpack_values "p" gives me
the device_name, but I do not know how to add ".o" suffix to it.
something like:
2011 Sep 13
5
[PATCH] btrfs: trivial fix, a potential memory leak in btrfs_parse_early_options()
Signed-off-by: Jie Liu <jeff.liu@oracle.com>
---
fs/btrfs/super.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 15634d4..16f31e1 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -406,7 +406,7 @@ static int btrfs_parse_early_options(const char
*options, fmode_t flags,
u64 *subvol_rootid, struct
2019 Nov 26
0
[PATCH supermin] ext2: Build symbolic links correctly (RHBZ#1770304).
We created symlinks in two steps, by creating the empty inode and then
calling ext2fs_symlink to populate it. This created broken symlinks
where the directory name contained a / character, eg:
lrwxrwxrwx 1 root root 7 Nov 26 08:43 /bin -> usr/bin
lrwxrwxrwx 1 root root 7 Nov 26 08:43 /lib -> usr/lib
lrwxrwxrwx 1 root root 9 Nov 26 08:43 /lib64 -> usr/lib64
lrwxrwxrwx 1
2017 Sep 12
0
[PATCH v2 4/5] lib: qemu: Add accessor to test if qemu does mandatory locking.
QEMU >= 2.10 started to do mandatory locking. This checks the QMP
schema to see if we are using that version of qemu. (Note it is
sometimes disabled in downstream builds, and it was also enabled in
upstream prereleases with version 2.9.9x, so we cannot just check the
version number).
---
lib/guestfs-internal.h | 1 +
lib/qemu.c | 60
2009 Feb 13
2
[cucumber][v0.2alpha]Where could I find API docs for custom formatters?
Hi,
I''m working on update my local Cucumber to the latest version. But it seems
the old formatter APIs(step_failed, scenario_executed, etc.) don''t work any
more. Are there some documents or even Cucumber source code I can refer to?
Thanks in advance,
Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Mar 20
0
Passing variables to custom formatters
Guys,
I observing old mail
http://rubyforge.org/pipermail/rspec-users/2010-March/016638.html
and from it I understood that options hash is more side effect then
proper way for passing variable from spec to formatter.
So is there any official and supported way for doing that ?
Thanks a lot in advance,
Yury
2010 Oct 08
1
SCSI/SAS error message by mpt2sas.ko
Dear all,
actually I installed CentOS 5.4 x86_64 on 11 new Dell R710 servers. It is
required to use 5.4 to be covered by the NetApp Interoperability Matrix
for use of Snapdrive.
All systems spit out the error message
mpt2sas0: failure at
drivers/scsi/mpt2sas/mpt2sas_scsih.c:4637/_scsih_add_device()!
at boot time. In dmesg the complete SCSI initialization logging appears as
follows:
SCSI
2007 Mar 19
4
spec.opts: questions about formatters, etc.
Questions concerning spec.opts:
1. Am I correct in believing that each option should go on a
separate line of spec.opts in the rails spec directory? If this is
so, why is it so?
2. Using a formatter in spec.opts doesn''t seem to work. Here is my
spec.opts file:
--colour
-f s
and this is what happens when I run the rake task:
Couldn''t find formatter class s
Make
2017 Jul 12
3
[PATCH supermin] ext2: Create symlinks properly (RHBZ#1470157).
The ext2 filesystem on disk format has two ways to store symlinks.
For symlinks >= 60 bytes in length, they are stored as files
(so-called "slow symlinks"). For shorter symlinks the symlink is
stored in the inode ("fast symlinks").
Previously we only created slow symlinks even if there are shorter
than 60 bytes. This didn't matter until recently, when a change went
2003 Sep 30
1
Printing: unable to connect from Windows
OK..this is driving me nuts.
I cannot print from Windoze, consistenly getting a "Access denied;
Unable to connect" error message" from my samba print server.
Config ---
Server: RH9.0 uptodate with patches, errata.
Samba 2.2.7
HP OfficeJet K60 - hpoj 0.90-14
Client: Win2K w/sp4
HP OfficeJet K60 driver
What I *can* do ---
Print just fine on RH9/Samba server to the
2017 Apr 19
2
[PATCH] lib: direct: Remove support for virtio-blk as the default.
virtio-scsi has been supported in qemu since 2012, and it is superior
in every respect to virtio-blk. There's no reason to still be using
virtio-blk.
virtio-scsi support was initially added in 2012
(commit 0c0a7d0d868d153adf0600189f771459e1068b0a).
You can still use virtio-blk using the (deprecated) iface parameter,
but don't do that in new code.
---
lib/guestfs-internal.h | 1 -
2013 Jul 24
0
[PATCH RESEND 2/3] Btrfs: use u64 for subvolid when parsing mount options
Although for most time, int is enough for subvolid, we should
ensure safety in theory.
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Reviewed-by: Miao Xie <miaox@cn.fujitsu.com>
---
fs/btrfs/super.c | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index cc00295..d82391d 100644
--- a/fs/btrfs/super.c
2005 Mar 24
0
Re: IP-500 config
Hi Noah -
> I got everything to load via ftp. The phone appears to correctly boot
> from the config files. I also put the latest firmware there and the
> phone sucessfully loaded it.
>
> For some reason, the phone and * don't see each other. This is the
> part
> that confuses me. Any clues as to why the phone won't register?
It's not often I get to
2017 Jul 13
3
[PATCH supermin v2] ext2: Create symlinks properly (RHBZ#1470157).
The ext2 filesystem on disk format has two ways to store symlinks.
For symlinks >= 60 bytes in length, they are stored as files
(so-called "slow symlinks"). For shorter symlinks the symlink is
stored in the inode ("fast symlinks").
Previously we only created slow symlinks even if they are shorter than
60 bytes. This didn't matter until recently, when a change went
2007 May 25
0
Patch -- SVN revision in the version string
This is the patch to include SVN revision level in version number displays.
There should be two enclosures; the patch itself and a new source file.
common/upsversion.c.
upversion.c defines a single function. upsversion(), that returns a version
string for display. Some Makefile trickery ensures that this file will
be recompiled whenever the project's SVN revision level has changed since
it
2014 Jul 29
4
[PATCH 0/2] supermin: improve handling of memory
Hi,
the two patches improve the way memory is handled in supermin, by
cleanly exiting on memory allocation failures, and free'ing memory when
not needed (to keep working and not run out of memory).
Pino Toscano (2):
Check for failures in memory allocations
Free memory buffers when not used
src/ext2fs-c.c | 13 +++++++++++--
src/init.c | 13 +++++++++++++
2 files changed, 24