alistair23-linux/fs/ufs
Al Viro a8fad98483 ufs_truncate_blocks(): fix the case when size is in the last direct block
The logics when deciding whether we need to do anything with direct blocks
is broken when new size is within the last direct block.  It's better to
find the path to the last byte _not_ to be removed and use that instead
of the path to the beginning of the first block to be freed...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2017-06-15 03:57:46 -04:00
..
balloc.c ufs: more deadlock prevention on tail unpacking 2017-06-15 00:42:56 -04:00
cylinder.c
dir.c fs: Replace CURRENT_TIME_SEC with current_time() for inode timestamps 2016-09-27 21:06:22 -04:00
file.c
ialloc.c fs: ufs: use ktime_get_real_ts64() for birthtime 2017-05-08 17:15:15 -07:00
inode.c ufs_truncate_blocks(): fix the case when size is in the last direct block 2017-06-15 03:57:46 -04:00
Kconfig
Makefile ufs: get rid of ->setattr() for symlinks 2015-12-06 20:43:26 -05:00
namei.c Merge remote-tracking branch 'ovl/rename2' into for-linus 2016-10-10 23:02:51 -04:00
super.c ufs: fix s_size/s_dsize users 2017-06-14 16:43:03 -04:00
swab.h
ufs.h ufs: get rid of ->setattr() for symlinks 2015-12-06 20:43:26 -05:00
ufs_fs.h ufs: fix s_size/s_dsize users 2017-06-14 16:43:03 -04:00
util.c ufs_get_locked_page(): make sure we have buffer_heads 2017-06-14 23:32:19 -04:00
util.h ufs: fix s_size/s_dsize users 2017-06-14 16:43:03 -04:00