Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.5.75 /fs/attr.c

Filename:/fs/attr.c
Lines Added:0
Lines Deleted:3
Also changed in: (Previous) 2.5.74-bk7  2.5.74-bk6  2.5.74-bk5  2.5.74-bk4  2.5.74-bk3  2.5.74-bk2 
(Following) 2.5.75-bk1  2.5.75-bk2  2.5.75-bk3 

Location
[  2.5.75
  [  fs
     o  attr.c

Patch

diff -Nru a/fs/attr.c b/fs/attr.c
--- a/fs/attr.c   Thu Jul 10 13:16:26 2003
+++ b/fs/attr.c   Thu Jul 10 13:16:26 2003
@@ -22,8 +22,6 @@
    int retval = -EPERM;
    unsigned int ia_valid = attr->ia_valid;
 
-   lock_kernel();
-
    /* If force is set do it anyway. */
    if (ia_valid & ATTR_FORCE)
       goto fine;
@@ -58,7 +56,6 @@
 fine:
    retval = 0;
 error:
-   unlock_kernel();
    return retval;
 }
 


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.