* [merged] hfsplus-report-create_date-to-kstatbtime.patch removed from -mm tree
@ 2021-07-06 19:23 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-07-06 19:23 UTC (permalink / raw
To: axboe, cccheng, christian.brauner, jamorris, mm-commits, shepjeng,
slava
The patch titled
Subject: hfsplus: report create_date to kstat.btime
has been removed from the -mm tree. Its filename was
hfsplus-report-create_date-to-kstatbtime.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Chung-Chiang Cheng <shepjeng@gmail.com>
Subject: hfsplus: report create_date to kstat.btime
The create_date field of inode in hfsplus is corresponding to
kstat.btime and could be reported in statx.
Link: https://lkml.kernel.org/r/20210416172147.8736-1-cccheng@synology.com
Signed-off-by: Chung-Chiang Cheng <cccheng@synology.com>
Reviewed-by: Viacheslav Dubeyko <slava@dubeyko.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: James Morris <jamorris@linux.microsoft.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/hfsplus/inode.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/fs/hfsplus/inode.c~hfsplus-report-create_date-to-kstatbtime
+++ a/fs/hfsplus/inode.c
@@ -281,6 +281,11 @@ int hfsplus_getattr(struct user_namespac
struct inode *inode = d_inode(path->dentry);
struct hfsplus_inode_info *hip = HFSPLUS_I(inode);
+ if (request_mask & STATX_BTIME) {
+ stat->result_mask |= STATX_BTIME;
+ stat->btime = hfsp_mt2ut(hip->create_date);
+ }
+
if (inode->i_flags & S_APPEND)
stat->attributes |= STATX_ATTR_APPEND;
if (inode->i_flags & S_IMMUTABLE)
_
Patches currently in -mm which might be from shepjeng@gmail.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-06 19:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-06 19:23 [merged] hfsplus-report-create_date-to-kstatbtime.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.