]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/time/time.c
time: delete current_fs_time()
[karo-tx-linux.git] / kernel / time / time.c
index 6574bba44b55a2917d37e683c312bf10842f88cb..49c73c6ed648900d873190f9ebaefe9cb44f4f98 100644 (file)
@@ -230,20 +230,6 @@ SYSCALL_DEFINE1(adjtimex, struct timex __user *, txc_p)
        return copy_to_user(txc_p, &txc, sizeof(struct timex)) ? -EFAULT : ret;
 }
 
-/**
- * current_fs_time - Return FS time
- * @sb: Superblock.
- *
- * Return the current time truncated to the time granularity supported by
- * the fs.
- */
-struct timespec current_fs_time(struct super_block *sb)
-{
-       struct timespec now = current_kernel_time();
-       return timespec_trunc(now, sb->s_time_gran);
-}
-EXPORT_SYMBOL(current_fs_time);
-
 /*
  * Convert jiffies to milliseconds and back.
  *