Re: [PATCH v2 2/2] tun: update file current position

2013-12-06 Thread Vlad Yasevich
On 12/06/2013 12:45 PM, David Miller wrote: > From: Zhi Yong Wu > Date: Fri, 6 Dec 2013 17:08:50 +0800 > >> From: Zhi Yong Wu >> >> Signed-off-by: Zhi Yong Wu > > Also applied and queued up for -stable, thanks. > > I noticed in these two cases that that min_t() adjustment of 'ret' > seems

Re: [PATCH v2 2/2] tun: update file current position

2013-12-06 Thread David Miller
From: Zhi Yong Wu Date: Sat, 7 Dec 2013 04:32:20 +0800 > If you hope to submit the patch for this, please let me know, thanks. Someone should :-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH v2 2/2] tun: update file current position

2013-12-06 Thread Zhi Yong Wu
On Sat, Dec 7, 2013 at 1:45 AM, David Miller wrote: > From: Zhi Yong Wu > Date: Fri, 6 Dec 2013 17:08:50 +0800 > >> From: Zhi Yong Wu >> >> Signed-off-by: Zhi Yong Wu > > Also applied and queued up for -stable, thanks. > > I noticed in these two cases that that min_t() adjustment of 'ret' >

Re: [PATCH v2 2/2] tun: update file current position

2013-12-06 Thread David Miller
From: Zhi Yong Wu Date: Fri, 6 Dec 2013 17:08:50 +0800 > From: Zhi Yong Wu > > Signed-off-by: Zhi Yong Wu Also applied and queued up for -stable, thanks. I noticed in these two cases that that min_t() adjustment of 'ret' seems strange. I can't understand why it's needed. If, for example,

[PATCH v2 2/2] tun: update file current position

2013-12-06 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/tun.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 782e38b..c8ddbd0 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -1356,6 +1356,8 @@ static ssize_t

[PATCH v2 2/2] tun: update file current position

2013-12-06 Thread Zhi Yong Wu
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- drivers/net/tun.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 782e38b..c8ddbd0 100644 --- a/drivers/net/tun.c +++

Re: [PATCH v2 2/2] tun: update file current position

2013-12-06 Thread David Miller
From: Zhi Yong Wu zwu.ker...@gmail.com Date: Fri, 6 Dec 2013 17:08:50 +0800 From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Also applied and queued up for -stable, thanks. I noticed in these two cases that that min_t() adjustment of 'ret'

Re: [PATCH v2 2/2] tun: update file current position

2013-12-06 Thread Zhi Yong Wu
On Sat, Dec 7, 2013 at 1:45 AM, David Miller da...@davemloft.net wrote: From: Zhi Yong Wu zwu.ker...@gmail.com Date: Fri, 6 Dec 2013 17:08:50 +0800 From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Also applied and queued up for -stable,

Re: [PATCH v2 2/2] tun: update file current position

2013-12-06 Thread David Miller
From: Zhi Yong Wu zwu.ker...@gmail.com Date: Sat, 7 Dec 2013 04:32:20 +0800 If you hope to submit the patch for this, please let me know, thanks. Someone should :-) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH v2 2/2] tun: update file current position

2013-12-06 Thread Vlad Yasevich
On 12/06/2013 12:45 PM, David Miller wrote: From: Zhi Yong Wu zwu.ker...@gmail.com Date: Fri, 6 Dec 2013 17:08:50 +0800 From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com Also applied and queued up for -stable, thanks. I noticed in these