[Btrfs-users] [bugreport] btrfs 0.11

Gabor MICSKO gmicsko at gmail.com
Sat Jan 19 14:04:34 PST 2008


On Sat, 2008-01-19 at 16:16 -0500, Jeff Mahoney wrote:

> Yeah, that'd do it. I include the following patch in openSUSE's
> btrfs package.
> 
> - -Jeff
> 
> diff -rup a/source/file.c b/source/file.c
> - --- a/file.c	2007-06-12 11:36:58.000000000 -0400
> +++ b/file.c	2007-06-12 14:06:53.000000000 -0400
> @@ -482,7 +482,7 @@ static ssize_t btrfs_file_write(struct f
>  		goto out;
>  	if (count == 0)
>  		goto out;
> - -	err = remove_suid(file->f_path.dentry);
> +	err = remove_suid(&file->f_path);
>  	if (err)
>  		goto out;
>  	file_update_time(file);

Is this patch against btrfs-0.11? Because it fails to apply.

Thanks, 

-- 
Gabor MICSKO <gmicsko at gmail.com>




More information about the Btrfs-users mailing list