+ xfs-remove-dir-check-in-xfs_link.patch added to -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 added to the -mm tree.  Its filename is

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

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
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
@@ -2607,8 +2607,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

git-acpi.patch
git-block.patch
git-ieee1394.patch
git-libata-all.patch
git-mtd.patch
git-netdev-all.patch
git-net.patch
git-nfs.patch
xfs-remove-dir-check-in-xfs_link.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
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