Re: [stable] btrfs name length fixes

2017-10-29 Thread Ben Hutchings
On Mon, 2017-10-30 at 08:45 +0800, Qu Wenruo wrote: > > On 2017年10月30日 08:19, Ben Hutchings wrote: > > On Mon, 2017-10-30 at 07:59 +0800, Qu Wenruo wrote: [...] > > > These fixes will soon be replace by centralized tree-checker facilities. > > > > Is that likely

Re: [stable] btrfs name length fixes

2017-10-29 Thread Ben Hutchings
On Mon, 2017-10-30 at 07:59 +0800, Qu Wenruo wrote: > > On 2017年10月30日 01:15, Ben Hutchings wrote: > > You recently made a number of fixes to validation and use of name > > lengths in btrfs: > > > > 286b92f43c0d btrfs: tree-log.c: Wrong printk information about

[stable] btrfs name length fixes

2017-10-29 Thread Ben Hutchings
how far back these fixes would be needed? Ben. -- Ben Hutchings I'm not a reverse psychological virus. Please don't copy me into your sig. signature.asc Description: This is a digitally signed message part

[PATCH 3.2 24/74] btrfs: Don't clear SGID when inheriting ACLs

2017-10-09 Thread Ben Hutchings
605b43a7e34598caef CC: linux-btrfs@vger.kernel.org CC: David Sterba Signed-off-by: Jan Kara Signed-off-by: David Sterba [bwh: Backported to 3.2: move the call to posix_acl_update_mode() into btrfs_xattr_acl_set()] Signed-off-by: Ben Hutchings --- --- a/fs/btrfs/acl.c +++ b/fs/btrfs/acl.c @

[PATCH 3.16 075/192] btrfs: Don't clear SGID when inheriting ACLs

2017-10-09 Thread Ben Hutchings
605b43a7e34598caef CC: linux-btrfs@vger.kernel.org CC: David Sterba Signed-off-by: Jan Kara Signed-off-by: David Sterba [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- fs/btrfs/acl.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) --- a/fs/bt

[PATCH] fs: Add MODULE_SOFTDEP declarations for hard-coded crypto drivers

2016-05-17 Thread Ben Hutchings
This helps initramfs builders and other tools to find the full dependencies of a module. References: https://bugs.debian.org/819725 Signed-off-by: Ben Hutchings --- --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -2456,3 +2456,4 @@ late_initcall(init_btrfs_fs); module_exit(exit_btrfs_fs

Re: [v3.10.y][v3.11.y][v3.12.y][v3.13.y][v3.14.y][PATCH 1/1][V2] ALSA: usb-audio: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined

2014-06-21 Thread Ben Hutchings
ut that commit seems to have too may changes for a > stable release. Keep the changes squashed together if you like, but do include both commit hashes and commit messages. Ben. -- Ben Hutchings Who are all these weirdos? - David Bowie, reading IRC for the first time signature.asc Description:

Re: [v3.10.y][v3.11.y][v3.12.y][v3.13.y][v3.14.y][PATCH 1/1][V2] ALSA: usb-audio: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined

2014-06-18 Thread Ben Hutchings
o reads of a counter updated every ms. >*/ > if (abs(est_delay - subs->last_delay) * 1000 > runtime->rate * 2) > - snd_printk(KERN_DEBUG "delay: estimated %d, actual %d\n", > + dev_dbg_ratelimited(&subs->dev->dev, > +

Re: Bug#736227: linux-headers-3.12-1-amd64: general protection fault when using aptitude

2014-01-22 Thread Ben Hutchings
read+0x94/0x160 > [ 322.370726] [] ? SyS_read+0x43/0xa0 > [ 322.370759] [] ? system_call_fastpath+0x16/0x1b > [ 322.370795] Code: 43 58 48 2b 43 50 88 43 4e eb e9 90 90 90 90 90 90 90 90 > 90 90 90 90 90 90 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 > a4 c3 20 4c

Re: btrfs: filenames collide with snapshot/subvolume names

2012-06-24 Thread Ben Hutchings
On Thu, 2012-06-14 at 12:28 +0200, David Sterba wrote: > On Thu, Jun 14, 2012 at 05:34:29AM +0100, Ben Hutchings wrote: > > ?? (Giorgos?) reports: > > > Namely, being inside a snapshot directory, I can't create a file/directory > > > with th

Re: btrfs: filenames collide with snapshot/subvolume names

2012-06-13 Thread Ben Hutchings
xr-x 1 root root 0 Mar 8 12:08 dir1 > drwxr-xr-x 1 root root 0 Mar 8 12:08 dir2 > drwxr-xr-x 1 root root 0 Mar 8 12:08 dir3 > aris aSnap # date > aSnap > bash: aSnap: Is a directory -- Ben Hutchings Computers are not intelligent. They only think they are. signature.asc Description: This is a digitally signed message part

Re: Bug#624131: linux-image-2.6.39-rc4-686-pae: Can somewhat reliably produce kernel panic in btrfs code

2011-04-25 Thread Ben Hutchings
unt with clear_cache on each boot as a > workaround. This fix doesn't seem to be in your for-linux branch yet. Please can you ensure that this (or an alternate fix) is included in 2.6.39. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse. signature.asc Description: This is a digitally signed message part

Re: Bug#624131: linux-image-2.6.39-rc4-686-pae: Can somewhat reliably produce kernel panic in btrfs code

2011-04-25 Thread Ben Hutchings
:1246 > Bug type: invalid opcode: > Kernel not tainted, running on an ASUSTek 1005HAG > EIP is at btrfs_add_free_space+0x285/0x39a [btrfs] You will probably need to provide a more complete copy of the panic message. Let's see what the btrfs developers say. Ben. -- Ben Hutchi

[PATCH] btrfs: Require CAP_SYS_ADMIN for filesystem rebalance

2010-12-29 Thread Ben Hutchings
Filesystem rebalancing (BTRFS_IOC_BALANCE) affects the entire filesystem and may run uninterruptibly for a long time. This does not seem to be something that an unprivileged user should be able to do. Reported-by: Aron Xu Signed-off-by: Ben Hutchings --- fs/btrfs/volumes.c |4 1