From: "J. R. Okajima" <hooanon...@gmail.com> commit 494b53204c49afc0ef9c29acf17455a4ac857c97 aufs5-standalone upstream.
By the commit, f7e33bdbd6d1b 2021-08-23 fs: remove mandatory file locking support it was gone. Signed-off-by: J. R. Okajima <hooanon...@gmail.com> Signed-off-by: Paul Gortmaker <paul.gortma...@windriver.com> --- fs/aufs/vfsub.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/aufs/vfsub.c b/fs/aufs/vfsub.c index e91b65a54a23..f6e27fbcf584 100644 --- a/fs/aufs/vfsub.c +++ b/fs/aufs/vfsub.c @@ -677,9 +677,7 @@ int vfsub_trunc(struct path *h_path, loff_t length, unsigned int attr, lockdep_off(); sb_start_write(h_sb); lockdep_on(); - err = locks_verify_truncate(h_inode, h_file, length); - if (!err) - err = security_path_truncate(h_path); + err = security_path_truncate(h_path); if (!err) { h_userns = mnt_user_ns(h_path->mnt); lockdep_off(); -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11064): https://lists.yoctoproject.org/g/linux-yocto/message/11064 Mute This Topic: https://lists.yoctoproject.org/mt/90000692/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-