[PATCH] btrfs-progs: Fix implicit strndup() and other warnings on RHEL 5

2010-05-20 Thread Michael Tharp
Signed-off-by: Michael Tharp --- btrfs-list.c |7 --- btrfs.c |1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/btrfs-list.c b/btrfs-list.c index 7741705..112bed2 100644 --- a/btrfs-list.c +++ b/btrfs-list.c @@ -16,6 +16,7 @@ * Boston, MA 021110-1307, USA.

Re: [PATCH 07/10] btrfs: fix wrong ctime when adding link

2010-05-20 Thread Mike Fedyk
On Thu, May 20, 2010 at 12:22 AM, Miao Xie wrote: > the ctime of file has not been updated when I create a link for it. > > Steps to reproduce: >  # touch file1 >  # stat -c %Z file1 >  1273592239 >  # link flink1 file1 >  # stat -c %Z file1 >  1273592239             <-- have not been updated > >

Re: [PATCH 04/10] btrfs: Add error check for add_to_page_cache_lru

2010-05-20 Thread Mike Fedyk
On Thu, May 20, 2010 at 12:18 AM, Miao Xie wrote: > From: Liu Bo > > If add_to_page_cache_lru() returns -EEXIST, it indicates the page > that belongs to this page_index has been added and this readahead > action can go on to next page. > > If add_to_page_cache_lru() returns -ENOMEM, it should bre

Re: [PATCH] btrfs: should add a permission check for setfacl

2010-05-20 Thread Christoph Hellwig
On Tue, May 18, 2010 at 08:50:32AM +0800, Shi Weihua wrote: > On btrfs, do the following > -- > # su user1 > # cd btrfs-part/ > # touch aaa > # getfacl aaa > # file: aaa > # owner: user1 > # group: user1 > user::rw- > group::rw- > other::r-- > # su user2 > # cd btrfs-par

Re: [PATCH 07/10] btrfs: fix wrong ctime when adding link

2010-05-20 Thread Christoph Hellwig
On Thu, May 20, 2010 at 03:22:30PM +0800, Miao Xie wrote: > the ctime of file has not been updated when I create a link for it. > > Steps to reproduce: > # touch file1 > # stat -c %Z file1 > 1273592239 > # link flink1 file1 > # stat -c %Z file1 > 1273592239 <-- have not been upda

Re: [PATCH 06/10] btrfs: fix remap_file_pages error

2010-05-20 Thread Christoph Hellwig
On Thu, May 20, 2010 at 03:21:50PM +0800, Miao Xie wrote: > + if (!mapping->a_ops->readpage) > + return -ENOEXEC; I don't think there's any instance of address_space operations without a readpage method in btrfs. -- To unsubscribe from this list: send the line "unsubscribe linux-b

[PATCH 08/10] btrfs: fix memory leak of btrfs_new_inode()

2010-05-20 Thread Miao Xie
btrfs_new_inode() forgets to free path when it enters the error path. Signed-off-by: Miao Xie --- fs/btrfs/inode.c | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 5271887..1cef510 100644 --- a/fs/btrfs/inode.c +++

[PATCH 07/10] btrfs: fix wrong ctime when adding link

2010-05-20 Thread Miao Xie
the ctime of file has not been updated when I create a link for it. Steps to reproduce: # touch file1 # stat -c %Z file1 1273592239 # link flink1 file1 # stat -c %Z file1 1273592239 <-- have not been updated This patch fix this problem. Signed-off-by: Miao Xie --- fs/btrfs/in

[PATCH 10/10] btrfs: fix the wrong handle of btrfs_set_acl()

2010-05-20 Thread Miao Xie
If the acl can be exactly represented in the traditional file mode permission bits, we needn't insert any xattr item into fs/file root. Signed-off-by: Miao Xie --- fs/btrfs/acl.c | 56 - fs/btrfs/xattr.c | 22 +--- 2 files

[PATCH 09/10] btrfs: fix some problem in btrfs_link()

2010-05-20 Thread Miao Xie
- add check for btrfs_start_transaction()'s return value - fix no drop the nlink of the inode if btrfs_set_inode_index() fails,. Signed-off-by: Miao Xie --- fs/btrfs/inode.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c inde

[PATCH 02/10] btrfs: fix break phase in btrfs_insert_some_items()

2010-05-20 Thread Miao Xie
From: Liu Bo "nr = i" should be placed before "break" in order to get right "nr". Signed-off-by: Liu Bo Signed-off-by: Miao Xie --- fs/btrfs/ctree.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index babf7fb..7adff4e 100644 ---

[PATCH 01/10] btrfs: add a return value for readahead_tree_block()

2010-05-20 Thread Miao Xie
From: Liu Bo Fix return value to get from read_extent_buffer_pages(). Signed-off-by: Liu Bo Signed-off-by: Miao Xie --- fs/btrfs/disk-io.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 6632e5c..35916d5 100644 --- a/fs/b

[PATCH 06/10] btrfs: fix remap_file_pages error

2010-05-20 Thread Miao Xie
when we use remap_file_pages() to remap a file, remap_file_pages always return error. It is because btrfs didn't set VM_CAN_NONLINEAR for vma. Signed-off-by: Miao Xie --- fs/btrfs/file.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/file.c b/fs/btrfs/f

[PATCH 05/10] btrfs: fix oops when adding a device

2010-05-20 Thread Miao Xie
After we remove a device from a raid0 filesystem with two devices, if we add a device into this filesystem, oops occurs. Steps to reproduce: # mkfs.btrfs -m raid0 /dev/sda1 /dev/sda2 # mount /dev/sda1 /mnt # btrfs-vol -r /dev/sda2 /mnt # btrfs-vol -a /dev/sda2 /mnt (oops happens.) The follow

[PATCH 03/10] btrfs: Remove variable wake for cleanup

2010-05-20 Thread Miao Xie
From: Liu Bo - Put "worker->working" inside "if" to make code clearly. - If "wake" is 1, "wake_up_process" will be called, meanwhile, "wake" is set to 1 if !worker->working, so remove "wake" and directly call "wake_up_process" if !worker->working. Signed-off-by: Liu Bo Signed-off-by: Mia

[PATCH 04/10] btrfs: Add error check for add_to_page_cache_lru

2010-05-20 Thread Miao Xie
From: Liu Bo If add_to_page_cache_lru() returns -EEXIST, it indicates the page that belongs to this page_index has been added and this readahead action can go on to next page. If add_to_page_cache_lru() returns -ENOMEM, it should break for no memory left. Signed-off-by: Liu Bo Signed-off-by: M

US New Business Database - 4.8 million records all with emails

2010-05-20 Thread shack Herrington
Here's some of the healthcare lists we have: Veterinarians - 78,986 total records with 1,438 emails and 1,050 fax numbers National Health Service Corp Clinics - 1,300 total records with emails for government run free clinics Medical Equipment Suppliers - 167,425 total records with 6,940 emails