diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-06-09 23:20:34 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-06-09 23:28:01 +0300 |
commit | babef37dccbaa49249a22bae9150686815d7be71 (patch) | |
tree | 505658793d3ac66c9e103ae27ef1560b46bc6912 /tools/power/x86 | |
parent | 006351ac8ead0d4a67dd3845e3ceffe650a23212 (diff) | |
download | linux-babef37dccbaa49249a22bae9150686815d7be71.tar.xz |
excessive checks in ufs_write_failed() and ufs_evict_inode()
As it is, short copy in write() to append-only file will fail
to truncate the excessive allocated blocks. As the matter of
fact, all checks in ufs_truncate_blocks() are either redundant
or wrong for that caller. As for the only other caller
(ufs_evict_inode()), we only need the file type checks there.
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/power/x86')
0 files changed, 0 insertions, 0 deletions