projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe1090
)
[XFS] Remove redundant directory checks from inode link operation.
author
Alexey Dobriyan
<adobriyan@gmail.com>
Tue, 27 Jun 2006 06:13:29 +0000
(16:13 +1000)
committer
Nathan Scott
<nathans@sgi.com>
Tue, 27 Jun 2006 06:13:29 +0000
(16:13 +1000)
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26343a
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_iops.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/linux-2.6/xfs_iops.c
b/fs/xfs/linux-2.6/xfs_iops.c
index 12810baeb5d4ad7e4c54c7690b08d2fa3fe9de1c..b3b46457f151501625aed646cc6393463b73f7dc 100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_iops.c
+++ b/
fs/xfs/linux-2.6/xfs_iops.c
@@
-419,9
+419,6
@@
xfs_vn_link(
int error;
ip = old_dentry->d_inode; /* inode being linked to */
- if (S_ISDIR(ip->i_mode))
- return -EPERM;
-
tdvp = vn_from_inode(dir);
vp = vn_from_inode(ip);