lkml.org 
[lkml]   [2016]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC 14/15] vfs: Remove inode_timespec aliases
    Date
    Now that CONFIG_FS_USES_64BIT_TIME is enabled, the aliases
    for inode_timespec are no longer used and can be removed.

    Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
    ---
    include/linux/time64.h | 21 ---------------------
    1 file changed, 21 deletions(-)

    diff --git a/include/linux/time64.h b/include/linux/time64.h
    index eb3cdc0..f30c910 100644
    --- a/include/linux/time64.h
    +++ b/include/linux/time64.h
    @@ -26,27 +26,6 @@ struct itimerspec64 {

    #endif

    -#ifdef CONFIG_FS_USES_64BIT_TIME
    -
    -/* Place holder defines until CONFIG_FS_USES_64BIT_TIME
    - * is enabled.
    - * timespec64 data type and functions will be used at that
    - * time directly and these defines will be deleted.
    - */
    -#define inode_timespec timespec64
    -
    -#define inode_timespec_compare timespec64_compare
    -#define inode_timespec_equal timespec64_equal
    -
    -#else
    -
    -#define inode_timespec timespec
    -
    -#define inode_timespec_compare timespec_compare
    -#define inode_timespec_equal timespec_equal
    -
    -#endif
    -
    #define CURRENT_TIME64 (current_kernel_time64())
    #define CURRENT_TIME64_SEC \
    ((struct timespec64) { ktime_get_real_seconds(), 0 })
    --
    1.9.1


    \
     
     \ /
      Last update: 2016-01-07 07:21    [W:4.353 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site