summaryrefslogtreecommitdiff
path: root/fs/ufs/truncate.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-06-17 01:06:40 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2015-07-07 00:39:21 +0300
commit3b7a3a05e8b006a73c406230b3d2d3da920779d9 (patch)
tree84f527922d2d9d596c51e1f638b35bb6b31ca00f /fs/ufs/truncate.c
parentd622f167b8435c856376edec130053fb56bf83e4 (diff)
downloadlinux-3b7a3a05e8b006a73c406230b3d2d3da920779d9.tar.xz
ufs: free excessive blocks upon ->write_begin() failure/short copy
Broken in "[PATCH] ufs: truncate should allocate block for last byte"; all way back in 2006. ufs_setattr() hadn't been the only user of vmtruncate() and eliminating ->truncate() method required corrections in a bunch of places. Eventually those places had migrated into ->write_begin() failure exit and ->write_end() after short copy... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ufs/truncate.c')
0 files changed, 0 insertions, 0 deletions