Displaying 15 results from an estimated 15 matches similar to: "Re: [patch] Btrfs: fix access_ok() check in btrfs_ioctl_send()"
2013 Apr 30
0
[PATCH] Btrfs: fix typo in send.c
A user reported a bug where we do sizeof(*ptr * count) instead of sizeof(*ptr) *
count. Fix this.
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
---
fs/btrfs/send.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index ff40f1c..7c8964b 100644
--- a/fs/btrfs/send.c
+++
2013 Apr 10
0
[PATCH] Btrfs-progs: add send option for using new end-cmd semantic
This commit adds a command line option to enable sending streams
which make use of the new end-cmd semantic if multiple snapshots are
sent back-to-back. The goal is to use the <end cmd> as an indication
to stop reading the input stream. So far, the receiver could only
use EOF to recognize the end.
If the new command line option ''-e'' is set, this commit requires a
kernel
2013 Jan 07
3
[PATCH] btrfs: add "no file data" flag to btrfs send ioctl
This patch adds the flag, BTRFS_SEND_FLAG_NO_FILE_DATA to the btrfs send
ioctl code. When this flag is set, the btrfs send code will never write file
data into the stream (thus also avoiding expensive reads of that data in the
first place). BTRFS_SEND_C_UPDATE_EXTENT commands will be sent (instead of
BTRFS_SEND_C_WRITE) with an offset, length pair indicating the extent in
question.
This patch
2009 Jul 28
1
[nut-commits] svn commit r1866 - in trunk: . drivers man
On Mon, Jul 20, 2009 at 3:33 PM, Arjen de
Korte<adkorte-guest at alioth.debian.org> wrote:
> Author: adkorte-guest
> Date: Mon Jul 20 19:33:33 2009
> New Revision: 1866
>
> Log:
> Resolve naming conflict
Arjen,
should drivers/Makefile.am be changed from:
virtual_SOURCES = virtual.c
to:
clone_SOURCES = clone.c
as well?
--
- Charles Lepple
2013 Dec 16
6
[PATCH 0/3] Send: minor cleanups, add RO checks
First two patches are trivial cleanups that I''ve spotted while reading send.c,
can be applied independently.
The third patch contains the important bits, safety checks that the subvolumes
involved in send do not accidentally lose the RO status. I haven''t seen this
documented anywhere that this is mandatory, implied from how I assume send
works. Please let me know if this is
2013 Apr 06
3
btrfs-progs: re-add send-test
From: Mark Fasheh <mfasheh@suse.de>
btrfs-progs: re-add send-test
send-test.c links against libbtrfs and uses the send functionality provided
to decode and print a send stream to the console.
66819df "btrfs-progs: add send-test" contained this file when
submitted, but somehow got lost on commit.
[sandeen@redhat.com: Resurrect lost send-test.c from original commit]
2010 Oct 19
2
[GIT PULL net-2.6] vhost-net: access_ok fix
David,
Not sure if it's too late for 2.6.36 - in case it's not, the following tree
includes a last minute bugfix for vhost-net, found by code inspection.
It is on top of net-2.6.
Thanks!
The following changes since commit b0057c51db66c5f0f38059f242c57d61c4741d89:
tg3: restore rx_dropped accounting (2010-10-11 16:06:24 -0700)
are available in the git repository at:
2010 Oct 19
2
[GIT PULL net-2.6] vhost-net: access_ok fix
David,
Not sure if it's too late for 2.6.36 - in case it's not, the following tree
includes a last minute bugfix for vhost-net, found by code inspection.
It is on top of net-2.6.
Thanks!
The following changes since commit b0057c51db66c5f0f38059f242c57d61c4741d89:
tg3: restore rx_dropped accounting (2010-10-11 16:06:24 -0700)
are available in the git repository at:
2016 Aug 01
0
[vhost:vhost 14/14] drivers/vhost/vhost.c:915:30: warning: passing argument 2 of 'access_ok' makes pointer from integer without a cast
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
head: 51ce50c54895044f949129e595ed9a37e4d6c13a
commit: 51ce50c54895044f949129e595ed9a37e4d6c13a [14/14] vhost: new device IOTLB API
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget
2016 Aug 01
0
[vhost:vhost 14/14] drivers/vhost/vhost.c:915:30: warning: passing argument 2 of 'access_ok' makes pointer from integer without a cast
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
head: 51ce50c54895044f949129e595ed9a37e4d6c13a
commit: 51ce50c54895044f949129e595ed9a37e4d6c13a [14/14] vhost: new device IOTLB API
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget
2009 Dec 20
0
[PATCH 2/3] vhost: add access_ok checks
On biarch kernels, it is not safe to do copy from/to user, even with use_mm,
unless we checked the address range with access_ok previously. Implement these
checks to enforce safe memory accesses.
Reported-by: Al Viro <viro at zeniv.linux.org.uk>
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/vhost/net.c | 17 ++++++-
drivers/vhost/vhost.c | 111
2009 Dec 20
0
[PATCH 2/3] vhost: add access_ok checks
On biarch kernels, it is not safe to do copy from/to user, even with use_mm,
unless we checked the address range with access_ok previously. Implement these
checks to enforce safe memory accesses.
Reported-by: Al Viro <viro at zeniv.linux.org.uk>
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/vhost/net.c | 17 ++++++-
drivers/vhost/vhost.c | 111
2013 May 23
2
Problem with btrfs send/receive
Hi everyone,
I was trying the new send/receive feature today but can''t make it work.
These are the commands I was using:
btrfs subvol snap -r /mnt/data1/@downloads/ /mnt/data1/snapshots/testsnap
btrfs send /mnt/data1/snapshots/testsnap | btrfs receive
/mnt/data1/snapshots/testreceive/
This command never finishes. A ''ls /mnt/data1/snapshots/testreceive/ ''
never
2013 Dec 11
5
Updated btrfs-next
Hello,
I just updated and pushed btrfs-next, if it is missing something let me
know. I had to kick out the printk formatting patch because it didn''t
compile and I didn''t take Miao''s background enospc flushing stuff since
some of it didn''t apply and 5/5 hasn''t been updated to force waiting on
background flushers. Let me know if I missed anything
2013 May 20
2
[PATCH] Btrfs: fix estale with btrfs send
This fixes bugzilla 57491. If we take a snapshot of a fs with a unlink ongoing
and then try to send that root we will run into problems. When comparing with a
parent root we will search the parents and the send roots commit_root, which if
we''ve just created the snapshot will include the file that needs to be evicted
by the orphan cleanup. So when we find a changed extent we will try