diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-08 07:27:03 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 19:24:53 (GMT) |
commit | 4be3df28beec5605c77a18aa2a4f987b5648f9ce (patch) | |
tree | 1cd19042637dd5b055489700d3df4f3f9e19f9b4 /fs/sysfs/dir.c | |
parent | 4c6974f51a981d14f13e36049d6307d3bcda550e (diff) | |
download | linux-fsl-qoriq-4be3df28beec5605c77a18aa2a4f987b5648f9ce.tar.xz |
sysfs: Simplify iattr time assignments
The granularity of sysfs time when we keep it is 1 ns. Which
when passed to timestamp_trunc results in a nop. So remove
the unnecessary function call making sysfs_setattr slightly
easier to read.
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/dir.c')
0 files changed, 0 insertions, 0 deletions