Re: [PATCH 01/27] aio: fix failure to put the file pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2018-11-30 at 09:56 -0700, Jens Axboe wrote:
+AD4 If the ioprio capability check fails, we return without putting
+AD4 the file pointer.
+AD4 
+AD4 Fixes: d9a08a9e616b (+ACI-fs: Add aio iopriority support+ACI)
+AD4 Reviewed-by: Johannes Thumshirn +ADw-jthumshirn+AEA-suse.de+AD4
+AD4 Reviewed-by: Christoph Hellwig +ADw-hch+AEA-lst.de+AD4
+AD4 Signed-off-by: Jens Axboe +ADw-axboe+AEA-kernel.dk+AD4
+AD4 ---
+AD4  fs/aio.c +AHw 1 +-
+AD4  1 file changed, 1 insertion(+-)
+AD4 
+AD4 diff --git a/fs/aio.c b/fs/aio.c
+AD4 index b984918be4b7..205390c0c1bb 100644
+AD4 --- a/fs/aio.c
+AD4 +-+-+- b/fs/aio.c
+AD4 +AEAAQA -1436,6 +-1436,7 +AEAAQA static int aio+AF8-prep+AF8-rw(struct kiocb +ACo-req, struct iocb +ACo-iocb)
+AD4  		ret +AD0 ioprio+AF8-check+AF8-cap(iocb-+AD4-aio+AF8-reqprio)+ADs
+AD4  		if (ret) +AHs
+AD4  			pr+AF8-debug(+ACI-aio ioprio check cap error: +ACU-d+AFw-n+ACI, ret)+ADs
+AD4 +-			fput(req-+AD4-ki+AF8-filp)+ADs
+AD4  			return ret+ADs
+AD4  		+AH0

Since this patch fixes a bug that was introduced in kernel v4.18, does this
patch need a +ACI-Cc: stable+ACI tag?

Thanks,

Bart.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux