[merged] ufs-copy-symlink-data-into-the-correct-union-member.patch removed from -mm tree

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

 



The patch titled
     ufs: copy symlink data into the correct union member
has been removed from the -mm tree.  Its filename was
     ufs-copy-symlink-data-into-the-correct-union-member.patch

This patch was dropped because it was merged into mainline or a subsystem tree

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

------------------------------------------------------
Subject: ufs: copy symlink data into the correct union member
From: Duane Griffin <duaneg@xxxxxxxxx>

Copy symlink data into the union member it is accessed through.  Although
this shouldn't make a difference to behaviour it makes the code easier to
follow and grep through.  It may also prevent problems if the struct/union
definitions change in the future.

Signed-off-by: Duane Griffin <duaneg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/ufs/namei.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/ufs/namei.c~ufs-copy-symlink-data-into-the-correct-union-member fs/ufs/namei.c
--- a/fs/ufs/namei.c~ufs-copy-symlink-data-into-the-correct-union-member
+++ a/fs/ufs/namei.c
@@ -147,7 +147,7 @@ static int ufs_symlink (struct inode * d
 	} else {
 		/* fast symlink */
 		inode->i_op = &ufs_fast_symlink_inode_operations;
-		memcpy((char*)&UFS_I(inode)->i_u1.i_data,symname,l);
+		memcpy(UFS_I(inode)->i_u1.i_symlink, symname, l);
 		inode->i_size = l-1;
 	}
 	mark_inode_dirty(inode);
_

Patches currently in -mm which might be from duaneg@xxxxxxxxx are

origin.patch
linux-next.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