X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fcoda%2Finode.c;h=04a73fb4848f443864574da3db2b9adcf18043fc;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=11b7eb1e7a46cd350e8d27e2076f45ad8300d804;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/fs/coda/inode.c b/fs/coda/inode.c index 11b7eb1e7..04a73fb48 100644 --- a/fs/coda/inode.c +++ b/fs/coda/inode.c @@ -89,7 +89,7 @@ static int coda_remount(struct super_block *sb, int *flags, char *data) } /* exported operations */ -struct super_operations coda_super_operations = +static struct super_operations coda_super_operations = { .alloc_inode = coda_alloc_inode, .destroy_inode = coda_destroy_inode, @@ -253,7 +253,7 @@ int coda_setattr(struct dentry *de, struct iattr *iattr) memset(&vattr, 0, sizeof(vattr)); - inode->i_ctime = CURRENT_TIME; + inode->i_ctime = CURRENT_TIME_SEC; coda_iattr_to_vattr(iattr, &vattr); vattr.va_type = C_VNON; /* cannot set type */