X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Fadfs%2Finode.c;h=8dbd36f5e5811626ff71806d62c983e7ea35e288;hb=ba300ce35123a9ba8ea55318b0f579cc1ab3f51a;hp=335055d828e45d082f24558ac5b1c155dac1fefb;hpb=7e08117de6ee17ae6c8f2983999a98cb95eb9bc2;p=cascardo%2Flinux.git 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 -