[PATCH 0/2] Btrfs: fix mode umasking on empty files

2012-11-29 Thread Filipe Brandenburger
Hi, This set of patches fix bug #50861: "Btrfs sometimes ignore umask and create world writable files" https://bugzilla.kernel.org/show_bug.cgi?id=50861 It turns out that btrfs_create() will create an inode with permissions 0666 and these will be changed to match the umask inside

[PATCH 0/2] Btrfs: fix mode umasking on empty files

2012-11-29 Thread Filipe Brandenburger
Hi, This set of patches fix bug #50861: Btrfs sometimes ignore umask and create world writable files https://bugzilla.kernel.org/show_bug.cgi?id=50861 It turns out that btrfs_create() will create an inode with permissions 0666 and these will be changed to match the umask inside btrfs_init_acl()