X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flinux.git;a=blobdiff_plain;f=fs%2Fadfs%2Finode.c;h=8dbd36f5e5811626ff71806d62c983e7ea35e288;hp=335055d828e45d082f24558ac5b1c155dac1fefb;hb=101105b1717f536ca741f940033996302d4ef191;hpb=7ae383be81781c5e1347f71c3eb0d53ce5188200 diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c index 335055d828e4..8dbd36f5e581 100644 --- a/fs/adfs/inode.c +++ b/fs/adfs/inode.c @@ -199,7 +199,7 @@ adfs_adfs2unix_time(struct timespec *tv, struct inode *inode) return; cur_time: - *tv = CURRENT_TIME; + *tv = current_time(inode); return; too_early: @@ -303,7 +303,7 @@ adfs_notify_change(struct dentry *dentry, struct iattr *attr) unsigned int ia_valid = attr->ia_valid; int error; - error = inode_change_ok(inode, attr); + error = setattr_prepare(dentry, attr); /* * we can't change the UID or GID of any file -