- xfs-remove-dir-check-in-xfs_link.patch removed from -mm tree

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

 



The patch titled

     xfs: remove dir check in xfs_link

has been removed from the -mm tree.  Its filename is

     xfs-remove-dir-check-in-xfs_link.patch

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

------------------------------------------------------
Subject: xfs: remove dir check in xfs_link
From: Alexey Dobriyan <adobriyan@xxxxxxxxx>


link(2) on directory is banned in VFS.

Cc: Nathan Scott <nathans@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/xfs/xfs_vnodeops.c |    2 --
 1 file changed, 2 deletions(-)

diff -puN fs/xfs/xfs_vnodeops.c~xfs-remove-dir-check-in-xfs_link fs/xfs/xfs_vnodeops.c
--- a/fs/xfs/xfs_vnodeops.c~xfs-remove-dir-check-in-xfs_link
+++ a/fs/xfs/xfs_vnodeops.c
@@ -2603,8 +2603,6 @@ xfs_link(
 	vn_trace_entry(src_vp, __FUNCTION__, (inst_t *)__return_address);
 
 	target_namelen = VNAMELEN(dentry);
-	if (VN_ISDIR(src_vp))
-		return XFS_ERROR(EPERM);
 
 	sip = xfs_vtoi(src_vp);
 	tdp = XFS_BHVTOI(target_dir_bdp);
_

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

origin.patch
git-acpi.patch
git-block.patch
git-libata-all.patch
nfs-remove-nfs_put_link.patch
git-xfs.patch
xfs-pass-inode-to-xfs_ioc_space.patch
x86-dont-trigger-full-rebuild-via-config_mtrr.patch
dont-trigger-full-rebuild-via-config_x86_mce.patch
remove-config_parport_arc-drivers-parport-parport_arcc.patch
two-additions-to-linux-documentation-ioctl-numbertxt.patch
more-bug_on-conversion.patch
emu10k1-mark-midi_spinlock-as-used.patch
nbd-endian-annotations.patch
reiserfs-remove-reiserfs_aio_write.patch
documentation-ioctl-messtxt-start-tree-wide-ioctl-registry.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