summaryrefslogtreecommitdiff
path: root/fs/sysfs
diff options
context:
space:
mode:
authorMaxim Patlasov <MPatlasov@parallels.com>2014-04-28 16:19:22 +0400
committerMiklos Szeredi <mszeredi@suse.cz>2014-04-28 16:19:22 +0400
commit009dd694e82098a703b8b5c8dd9f54c131dbb9b3 (patch)
tree1029035a0ee696e59cc0fd90d116d9c4f7be2d17 /fs/sysfs
parentd31433c8b06d44e27f7637574137dc4b5e6fd1d1 (diff)
downloadlinux-009dd694e82098a703b8b5c8dd9f54c131dbb9b3.tar.xz
fuse: update mtime on truncate(2)
Handling truncate(2), VFS doesn't set ATTR_MTIME bit in iattr structure; only ATTR_SIZE bit is set. In-kernel fuse must handle the case by setting mtime fields of struct fuse_setattr_in to "now" and set FATTR_MTIME bit even though ATTR_MTIME was not set. Signed-off-by: Maxim Patlasov <MPatlasov@parallels.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions