commit | bee6c307800bbb26ba1a855b1841c2f0c4b7622a | [log] [tgz] |
---|---|---|
author | Brian Foster <bfoster@redhat.com> | Fri May 17 15:27:34 2013 -0400 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Mon May 20 16:58:58 2013 +0200 |
tree | 0efacb944f7b0b40cc02e896303bdd9f13da4ab5 | |
parent | 3634a6327815d39dd93e5c44a602daae91c66297 [diff] |
fuse: update inode size and invalidate attributes on fallocate An fallocate request without FALLOC_FL_KEEP_SIZE set can extend the size of a file. Update the inode size after a successful fallocate. Also invalidate the inode attributes after a successful fallocate to ensure we pick up the latest attribute values (i.e., i_blocks). Signed-off-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>