+ fs-ioctlc-remove-unnecessary-variable.patch added to -mm tree

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

 



The patch titled
     fs/ioctl.c: remove unnecessary variable
has been added to the -mm tree.  Its filename is
     fs-ioctlc-remove-unnecessary-variable.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: fs/ioctl.c: remove unnecessary variable
From: Shaohua Li <shaohua.li@xxxxxxxxx>

Signed-off-by: Shaohua Li <shaohua.li@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/ioctl.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -puN fs/ioctl.c~fs-ioctlc-remove-unnecessary-variable fs/ioctl.c
--- a/fs/ioctl.c~fs-ioctlc-remove-unnecessary-variable
+++ a/fs/ioctl.c
@@ -592,8 +592,7 @@ int do_vfs_ioctl(struct file *filp, unsi
 	case FIGETBSZ:
 	{
 		struct inode *inode = filp->f_path.dentry->d_inode;
-		int __user *p = (int __user *)arg;
-		return put_user(inode->i_sb->s_blocksize, p);
+		return put_user(inode->i_sb->s_blocksize, argp);
 	}
 
 	default:
_

Patches currently in -mm which might be from shaohua.li@xxxxxxxxx are

fs-ioctlc-remove-unnecessary-variable.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux