[PATCH 1/3] fs/9p: remove obsolete simple_strto

2013-01-18 Thread Abhijit Pawar
This patch replace the obsolete simple_strto with kstrto. Signed-off-by: Abhijit Pawar --- fs/9p/v9fs.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c index d934f04..6ac48fc 100644 --- a/fs/9p/v9fs.c +++ b/fs/9p/v9fs.c @@ -112,7 +112,7

Re: [PATCH 1/1] fs/xfs remove obsolete simple_strto

2013-01-10 Thread Abhijit Pawar
On 01/11/2013 12:06 PM, Jeff Liu wrote: > On 01/09/2013 10:04 PM, Abhijit Pawar wrote: >> This patch replaces usages of obsolete simple_strtoul with kstrtoint in >> xfs_args and suffix_strtoul. >> >> Signed-off-by: Abhijit Pawar >>

[PATCH 1/1] fs/xfs remove obsolete simple_strto

2013-01-09 Thread Abhijit Pawar
This patch replaces usages of obsolete simple_strtoul with kstrtoint in xfs_args and suffix_strtoul. Signed-off-by: Abhijit Pawar --- fs/xfs/xfs_super.c | 29 +++-- 1 files changed, 19 insertions(+), 10 deletions(-) diff --git a/fs/xfs/xfs_super.c b/fs/xfs

[PATCH 2/2] net: remove obsolete simple_strto

2012-12-10 Thread Abhijit Pawar
This patch removes the redundant occurences of simple_strto Signed-off-by: Abhijit Pawar --- net/core/netpoll.c|1 - net/mac80211/debugfs_sta.c|1 - net/netfilter/nf_conntrack_core.c |1 - 3 files changed, 0 insertions(+), 3 deletions(-) diff --git a/net

Re: [PATCH RESEND RESEND] net: remove obsolete simple_strto

2012-12-10 Thread Abhijit Pawar
On 12/11/2012 10:19 AM, David Miller wrote: > From: Abhijit Pawar > Date: Tue, 11 Dec 2012 09:04:20 +0530 > >> This patch replace the obsolete simple_strto with kstrto >> >> Signed-off-by: Abhijit Pawar > > You can't submit replacement patches f

[PATCH RESEND RESEND] net: remove obsolete simple_strto

2012-12-10 Thread Abhijit Pawar
This patch replace the obsolete simple_strto with kstrto Signed-off-by: Abhijit Pawar --- net/core/netpoll.c |6 -- net/ipv4/netfilter/ipt_CLUSTERIP.c |9 +++-- net/mac80211/debugfs_sta.c |4 +++- net/netfilter/nf_conntrack_core.c |6 -- 4

Re: [PATCH RESEND] net: remove obsolete simple_strto

2012-12-10 Thread Abhijit Pawar
On 12/11/2012 12:40 AM, David Miller wrote: > From: Abhijit Pawar > Date: Mon, 10 Dec 2012 14:42:28 +0530 > >> This patch replace the obsolete simple_strto with kstrto >> >> Signed-off-by: Abhijit Pawar > > Applied. > Hi David, It seems that there are occur

[PATCH RESEND 1/4] mm: remove obsolete simple_strtoul

2012-12-10 Thread Abhijit Pawar
This patch replace the obsolete simple_strtoul with kstrtoul API. Signed-off-by: Abhijit Pawar --- mm/kmemleak.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/mm/kmemleak.c b/mm/kmemleak.c index a217cc5..752a705 100644 --- a/mm/kmemleak.c +++ b/mm/kmemleak.c

[PATCH RESEND] net: remove obsolete simple_strto

2012-12-10 Thread Abhijit Pawar
This patch replace the obsolete simple_strto with kstrto Signed-off-by: Abhijit Pawar --- net/core/netpoll.c |5 - net/ipv4/netfilter/ipt_CLUSTERIP.c |9 +++-- net/mac80211/debugfs_sta.c |3 +++ net/netfilter/nf_conntrack_core.c |5 - 4 files

[PATCH 4/4] fs: remove obsolete simple_strto

2012-12-07 Thread Abhijit Pawar
This patch replace the obsolete simple_strto with kstrto Signed-off-by: Abhijit Pawar --- fs/9p/v9fs.c |6 +++--- fs/btrfs/ioctl.c |6 +- fs/cifs/cifs_debug.c |6 -- fs/dlm/config.c | 25 - fs/dlm/lockspace.c | 20

[PATCH 3/4] include/sunrpc: remove obsolete simple_strto

2012-12-07 Thread Abhijit Pawar
This patch replace the obsolete simple_strto with kstrto Signed-off-by: Abhijit Pawar --- include/linux/sunrpc/cache.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h index 5dc9ee4..96d2545 100644 --- a

[PATCH 2/4] net: remove obsolete simple_strto

2012-12-07 Thread Abhijit Pawar
This patch replace the obsolete simple_strto with kstrto Signed-off-by: Abhijit Pawar --- net/core/netpoll.c |9 +++-- net/ipv4/netfilter/ipt_CLUSTERIP.c |9 +++-- net/mac80211/debugfs_sta.c |4 +++- net/netfilter/nf_conntrack_core.c |6 -- 4

[PATCH 1/4] mm: remove obsolete simple_strtoul

2012-12-07 Thread Abhijit Pawar
This patch replace the obsolete simple_strtoul with kstrtoul API. Signed-off-by: Abhijit Pawar --- mm/kmemleak.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/mm/kmemleak.c b/mm/kmemleak.c index a217cc5..b141532 100644 --- a/mm/kmemleak.c +++ b/mm/kmemleak.c

Re: [RESEND PATCH] fs/super.c set_anon_super calling optimization

2012-11-29 Thread Abhijit Pawar
On 11/30/2012 09:35 AM, Al Viro wrote: > On Fri, Oct 26, 2012 at 11:14:41AM -0200, Carlos Maiolino wrote: >> Hi, >> >> On Thu, Oct 25, 2012 at 05:08:19PM +0530, Abhijit Pawar wrote: >>> Hi, >>> set_anon_super is called by many filesystems. Some call directl

Re: [PATCH 6/6] fs:sysfs pass NULL as second parameter for set_anon_super

2012-11-29 Thread Abhijit Pawar
On 11/29/2012 09:06 PM, Greg Kroah-Hartman wrote: > On Thu, Nov 29, 2012 at 12:05:45PM +0530, Abhijit Pawar wrote: >> set_anon_super does not use the second parameter in its implementation. >> So there is no need to pass on the second parameter. > > Why not just remove the

[PATCH 6/6] fs:sysfs pass NULL as second parameter for set_anon_super

2012-11-28 Thread Abhijit Pawar
set_anon_super does not use the second parameter in its implementation. So there is no need to pass on the second parameter. Signed-off-by: Abhijit Pawar --- fs/sysfs/mount.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index

[PATCH 5/6] fs:nfs pass NULL as second parameter for set_anon_super

2012-11-28 Thread Abhijit Pawar
set_anon_super does not use the second parameter in its implementation. So there is no need to pass on the second parameter. Signed-off-by: Abhijit Pawar --- fs/nfs/super.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfs/super.c b/fs/nfs/super.c index e12cea4

[PATCH 4/6] fs:btrfs pass NULL as second parameter for set_anon_super

2012-11-28 Thread Abhijit Pawar
set_anon_super does not use the second parameter in its implementation. So there is no need to pass on the second parameter. Signed-off-by: Abhijit Pawar --- fs/btrfs/super.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index

[PATCH 3/6] fs: 9p pass NULL as second parameter for set_anon_super

2012-11-28 Thread Abhijit Pawar
set_anon_super does not use the second parameter in its implementation. So there is no need to pass on the second parameter. Signed-off-by: Abhijit Pawar --- fs/9p/vfs_super.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c index

[PATCH 2/2] fs: logfs NULL pointer check added

2012-11-27 Thread Abhijit Pawar
This patches fixes the case where the NULL inode may be passed to get the page for writing. Signed-off-by: Abhijit Pawar --- fs/logfs/readwrite.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c index 53596ce..55b45fb 100644

[PATCH 1/2] fs: logfs NULL pointer check added

2012-11-27 Thread Abhijit Pawar
This patch fixes Bug 49921 - Missing NULL check of return value of logfs_get_write_page() in function btree_write_block() Signed-off-by: Abhijit Pawar --- fs/logfs/readwrite.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c

[PATCH 2/2] fs:ecryptfs basic code optimization

2012-11-12 Thread Abhijit Pawar
crypto.c: modified if() check in ecryptfs_encrypt_and_encode_filename(). It will evaluate only once and we use that evaluation result again later instead of re-evaluating the condition. Signed-off-by: Abhijit Pawar --- fs/ecryptfs/crypto.c | 11 +-- 1 files changed, 5 insertions

[PATCH 1/2] fs:ecryptfs basic code optimization

2012-11-12 Thread Abhijit Pawar
debug.c: ecryptfs_dump_auth_tok () : salt and sig arrays initialized so as to avoid adding null terminator explicitly. Signed-off-by: Abhijit Pawar --- fs/ecryptfs/debug.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/ecryptfs/debug.c b/fs/ecryptfs/debug.c

Re: [RESEND PATCH] fs/super.c set_anon_super calling optimization

2012-10-26 Thread Abhijit Pawar
On 10/26/2012 06:44 PM, Carlos Maiolino wrote: Hi, On Thu, Oct 25, 2012 at 05:08:19PM +0530, Abhijit Pawar wrote: Hi, set_anon_super is called by many filesystems. Some call directly and some call through the wrapper. Many of them in the wrapper's call to this function are passing the s

[RESEND PATCH] fs/super.c set_anon_super calling optimization

2012-10-25 Thread Abhijit Pawar
hanks, Abhijit Pawar Signed-off-by: Abhijit Pawar CC: Greg Kroah-Hartman CC: linux-kernel@vger.kernel.org CC: linux-bt...@vger.kernel.org --- diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c index 137d503..132db90 100644 --- a/fs/9p/vfs_super.c +++ b/fs/9p/vfs_super.c @@ -61,7 +61,7 @@ static