From 5fd04c7de2c650d5c1e5ff4834ee23745196a079 Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Sat, 7 Nov 2009 23:27:03 -0800 Subject: [PATCH] --- yaml --- r: 175021 b: refs/heads/master c: 4be3df28beec5605c77a18aa2a4f987b5648f9ce h: refs/heads/master i: 175019: 5c248f01edca3d8fa9a29c37c7a8c9e2ed87c874 v: v3 --- [refs] | 2 +- trunk/fs/sysfs/inode.c | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 2ed13742a7e1..a7b5707b2442 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4c6974f51a981d14f13e36049d6307d3bcda550e +refs/heads/master: 4be3df28beec5605c77a18aa2a4f987b5648f9ce diff --git a/trunk/fs/sysfs/inode.c b/trunk/fs/sysfs/inode.c index 000bd9865004..86fb230de432 100644 --- a/trunk/fs/sysfs/inode.c +++ b/trunk/fs/sysfs/inode.c @@ -104,14 +104,11 @@ int sysfs_setattr(struct dentry * dentry, struct iattr * iattr) if (ia_valid & ATTR_GID) iattrs->ia_gid = iattr->ia_gid; if (ia_valid & ATTR_ATIME) - iattrs->ia_atime = timespec_trunc(iattr->ia_atime, - inode->i_sb->s_time_gran); + iattrs->ia_atime = iattr->ia_atime; if (ia_valid & ATTR_MTIME) - iattrs->ia_mtime = timespec_trunc(iattr->ia_mtime, - inode->i_sb->s_time_gran); + iattrs->ia_mtime = iattr->ia_mtime; if (ia_valid & ATTR_CTIME) - iattrs->ia_ctime = timespec_trunc(iattr->ia_ctime, - inode->i_sb->s_time_gran); + iattrs->ia_ctime = iattr->ia_ctime; if (ia_valid & ATTR_MODE) { umode_t mode = iattr->ia_mode;