CURRENT_TIME(9)

NAME
current_time - Return FS time

SYNOPSIS

struct timespec current_time(struct inode * inode);

ARGUMENTS

inode
    inode.

DESCRIPTION

Return the current time truncated to the time granularity supported by the fs.

Note that inode and inode->sb cannot be NULL. Otherwise, the function warns and returns time without truncation.

COPYRIGHT