Skip to content

Delete CURRENT_TIME, CURRENT_TIME_SEC and current_fs_time

Deepa Dinamani ceph-devel linux-audit linux-btrfs linux-cifs linux-f2fs-devel linux-fsdevel linux-mtd linux-security-module lkml lustre-devel netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 23 repliesIn review 11 of 12 applied

Patches in v1 11 of 12 applied

#Subject and filesSizeRepliesApplied
1/12fs: f2fs: Use ktime_get_real_seconds for sit_info timesfs/f2fs/segment.c fs/f2fs/segment.h+4 -30 repliesApplied
2/12trace: Make trace_hwlat timestamp y2038 safekernel/trace/trace_entries.h kernel/trace/trace_hwlat.c kernel/trace/trace_output.c+14 -152 repliesApplied
3/12fs: cifs: Replace CURRENT_TIME by other appropriate apisfs/cifs/cifsencrypt.c fs/cifs/cifssmb.c fs/cifs/inode.c+23 -190 repliesApplied
4/12fs: ceph: CURRENT_TIME with ktime_get_real_ts()drivers/block/rbd.c fs/ceph/mds_client.c net/ceph/messenger.c +1 more+10 -615 repliesApplied
5/12fs: ufs: Use ktime_get_real_ts64() for birthtimefs/ufs/ialloc.c+4 -20 repliesApplied
6/12audit: Use timespec64 to represent audit timestampsinclude/linux/audit.h kernel/audit.c kernel/audit.h +1 more+11 -114 repliesApplied
7/12fs: btrfs: Use ktime_get_real_ts for root ctimefs/btrfs/root-tree.c+2 -11 reply
8/12fs: ubifs: Replace CURRENT_TIME_SEC with current_timefs/ubifs/dir.c fs/ubifs/file.c fs/ubifs/ioctl.c +3 more+26 -300 repliesApplied
9/12lustre: Replace CURRENT_TIME macrodrivers/staging/lustre/lustre/llite/llite_lib.c drivers/staging/lustre/lustre/osc/osc_io.c+5 -50 repliesApplied
10/12apparmorfs: Replace CURRENT_TIME with current_time()security/apparmor/apparmorfs.c+1 -11 replyApplied
11/12time: Delete CURRENT_TIME_SEC and CURRENT_TIMEinclude/linux/time.h+0 -30 repliesApplied
12/12time: Delete current_fs_time() functioninclude/linux/fs.h kernel/time/time.c+0 -150 repliesApplied

Reviews trailers per patch

10 of 12 patches have a Reviewed-by or Acked-by.

PatchArnd BergmannPaul MooreRichard Guy BriggsDavid SterbaJohn StultzSteven Rostedt (VMware)John Johansen
1/12R-b
2/12R-b
3/12R-b
4/12R-b A-b
5/12
6/12R-b A-b A-b
7/12R-b A-b
8/12R-b
9/12
10/12A-b
11/12R-b A-b
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v1 thread

Cover letter [PATCH 00/12] Delete CURRENT_TIME, CURRENT_TIME_SEC and current_fs_time

The series contains the last unmerged uses of CURRENT_TIME, CURRENT_TIME_SEC, and current_fs_time().
The series also deletes these apis.

All the patches except [PATCH 9/12] and [PATCH 10/12] are resend patches. These patches fix new instances of CURRENT_TIME.
cifs and ceph patches have been squashed so that we have one patch per filesystem.

We want to get these merged onto 4.12 release so that I can post the series that changes vfs timestamps to use 64 bits for 4.13 release.

I'm proposing these to be merged through Andrew's tree.

Filesystem maintainers, please let Andrew know if you will be picking up the patch in your trees.

Let me know if anybody has other preferences for merging.

Deepa Dinamani (12):
fs: f2fs: Use ktime_get_real_seconds for sit_info times
trace: Make trace_hwlat timestamp y2038 safe
fs: cifs: Replace CURRENT_TIME by other appropriate apis
fs: ceph: CURRENT_TIME with ktime_get_real_ts()
fs: ufs: Use ktime_get_real_ts64() for birthtime
audit: Use timespec64 to represent audit timestamps
fs: btrfs: Use ktime_get_real_ts for root ctime
fs: ubifs: Replace CURRENT_TIME_SEC with current_time
lustre: Replace CURRENT_TIME macro
apparmorfs: Replace CURRENT_TIME with current_time()
time: Delete CURRENT_TIME_SEC and CURRENT_TIME
time: Delete current_fs_time() function

 drivers/block/rbd.c                             |  2 +-
 drivers/staging/lustre/lustre/llite/llite_lib.c |  6 +++---
 drivers/staging/lustre/lustre/osc/osc_io.c      |  4 ++--
 fs/btrfs/root-tree.c                            |  3 ++-
 fs/ceph/mds_client.c                            |  4 +++-
 fs/cifs/cifsencrypt.c                           |  4 +++-
 fs/cifs/cifssmb.c                               | 10 ++++-----
 fs/cifs/inode.c                                 | 28 +++++++++++++------------
 fs/f2fs/segment.c                               |  2 +-
 fs/f2fs/segment.h                               |  5 +++--
 fs/ubifs/dir.c                                  | 12 +++++------
 fs/ubifs/file.c                                 | 12 +++++------
 fs/ubifs/ioctl.c                                |  2 +-
 fs/ubifs/misc.h                                 | 10 ---------
 fs/ubifs/sb.c                                   | 14 +++++++++----
 fs/ubifs/xattr.c                                |  6 +++---
 fs/ufs/ialloc.c                                 |  6 ++++--
 include/linux/audit.h                           |  4 ++--
 include/linux/fs.h                              |  1 -
 include/linux/time.h                            |  3 ---
 kernel/audit.c                                  | 10 ++++-----
 kernel/audit.h                                  |  2 +-
 kernel/auditsc.c                                |  6 +++---
 kernel/time/time.c                              | 14 -------------
 kernel/trace/trace_entries.h                    |  6 +++---
 kernel/trace/trace_hwlat.c                      | 14 ++++++-------
 kernel/trace/trace_output.c                     |  9 ++++----
 net/ceph/messenger.c                            |  6 ++++--
 net/ceph/osd_client.c                           |  4 ++--
 security/apparmor/apparmorfs.c                  |  2 +-
 30 files changed, 100 insertions(+), 111 deletions(-)
Signature · 1 line
2.7.4