[Jfs-patches] [PATCH] more 2.5.5 changes
Brought to you by:
blaschke-oss,
shaggyk
From: Christoph H. <hc...@ca...> - 2002-02-21 21:22:04
|
Test for directory links is moved to VFS, remove stale check and (IMHO) obsolete comment. Index: fs/jfs/namei.c =================================================================== RCS file: /usr/cvs/jfs/linux25/fs/jfs/namei.c,v retrieving revision 1.6 diff -u -u -r1.6 namei.c --- fs/jfs/namei.c 2002/02/12 15:18:25 1.6 +++ fs/jfs/namei.c 2002/02/21 18:20:45 @@ -818,12 +818,6 @@ jFYI(1, ("jfs_link: %s %s\n", old_dentry->d_name.name, dentry->d_name.name)); -/* The checks for links between filesystems and permissions are - handled by the VFS layer */ - - /* JFS does NOT support link() on directories */ - if (S_ISDIR(ip->i_mode)) - return -EPERM; IWRITE_LOCK_LIST(2, dir, ip); |