Re: [PATCH v3 4/5] vfs: Add timestamp_truncate() api

2017-02-21 Thread Deepa Dinamani
>>> fs/inode.c:2125: warning: Excess function parameter 'gran' description in >>> 'timestamp_truncate' > 2116 /** > 2117 * fs_timespec_trunc - Truncate timespec to a granularity > 2118 * @t: Timespec > 2119 * @gran: Granularity in ns. > 2120 * > 2121 * Truncate a timespec to

Re: [PATCH v3 4/5] vfs: Add timestamp_truncate() api

2017-02-18 Thread kbuild test robot
Hi Deepa, [auto build test WARNING on linus/master] [also build test WARNING on v4.10-rc8 next-20170217] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Deepa-Dinamani/vfs-Add-timestamp-range-che

[PATCH v3 4/5] vfs: Add timestamp_truncate() api

2017-02-18 Thread Deepa Dinamani
timespec_trunc() function is used to truncate a filesystem timestamp to the right granularity. But, the function does not clamp tv_sec part of the timestamps according to the filesystem timestamp limits. Also, timespec_trunc() is exclusively used for filesystem timestamps. Move the api to be part