Name

current_time — Return FS time

Synopsis

struct timespec current_time (struct inode * inode);
 

Arguments

struct inode * 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.