diff mbox series

[SRU,H,1/1] UBUNTU: SAUCE: aufs: v5.16-rc1, use inode_update_time helper

Message ID 20220118105241.1721148-2-kleber.souza@canonical.com
State New
Headers show
Series Fix aufs build on 5.11 kernels (LP#1958228) | expand

Commit Message

Kleber Sacilotto de Souza Jan. 18, 2022, 10:52 a.m. UTC
From: "J. R. Okajima" <hooanon05g@gmail.com>

BugLink: https://bugs.launchpad.net/bugs/1958228

Simply follows the commit in mainline,
e60feb445fce9 2021-10-26 fs: export an inode_update_time helper

Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
(cherry picked from commit cf1efc74d5cf40c2d740991ee06e402a3ad11f9f sfjro/aufs5-linux.git)
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
---
 fs/aufs/vfsub.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefan Bader Jan. 18, 2022, 11 a.m. UTC | #1
On 18.01.22 11:52, Kleber Sacilotto de Souza wrote:
> From: "J. R. Okajima" <hooanon05g@gmail.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1958228
> 
> Simply follows the commit in mainline,
> e60feb445fce9 2021-10-26 fs: export an inode_update_time helper
> 
> Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
> (cherry picked from commit cf1efc74d5cf40c2d740991ee06e402a3ad11f9f sfjro/aufs5-linux.git)
> Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
> ---

This is a quick-fix for the current cycle spins (which still has hirsute alive). 
So acking here while other submissions to hirsute for next cycle will have to be 
modified.

-Stefan

>   fs/aufs/vfsub.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/aufs/vfsub.h b/fs/aufs/vfsub.h
> index 6caa1c28c89f..38403c088cf6 100644
> --- a/fs/aufs/vfsub.h
> +++ b/fs/aufs/vfsub.h
> @@ -229,7 +229,7 @@ static inline void vfsub_touch_atime(struct vfsmount *h_mnt,
>   static inline int vfsub_update_time(struct inode *h_inode,
>   				    struct timespec64 *ts, int flags)
>   {
> -	return update_time(h_inode, ts, flags);
> +	return inode_update_time(h_inode, ts, flags);
>   	/* no vfsub_update_h_iattr() since we don't have struct path */
>   }
>   
>
diff mbox series

Patch

diff --git a/fs/aufs/vfsub.h b/fs/aufs/vfsub.h
index 6caa1c28c89f..38403c088cf6 100644
--- a/fs/aufs/vfsub.h
+++ b/fs/aufs/vfsub.h
@@ -229,7 +229,7 @@  static inline void vfsub_touch_atime(struct vfsmount *h_mnt,
 static inline int vfsub_update_time(struct inode *h_inode,
 				    struct timespec64 *ts, int flags)
 {
-	return update_time(h_inode, ts, flags);
+	return inode_update_time(h_inode, ts, flags);
 	/* no vfsub_update_h_iattr() since we don't have struct path */
 }