Linux/linux 5aa1437 — fs/ext2 inode.c
ext2: fix a block leak open file, unlink it, then use ioctl(2) to make it immutable or append only. Now close it and watch the blocks *not* freed... Immutable/append-only checks belong in ->setattr(). Note: the bug is old and backport to anything prior to 737f2e93b972 ("ext2: convert to use the new truncate convention") will need these checks lifted into ext2_setattr(). Cc: stable at kernel.org Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
Delta | File | |
---|---|---|
+0 | -10 | fs/ext2/inode.c |
+0 | -10 | 1 files |