commit | 3b7a3a05e8b006a73c406230b3d2d3da920779d9 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Jun 16 18:06:40 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Jul 06 17:39:21 2015 -0400 |
tree | 84f527922d2d9d596c51e1f638b35bb6b31ca00f | |
parent | d622f167b8435c856376edec130053fb56bf83e4 [diff] |
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>