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

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

Advertisement

Kernel v2.6.25-rc7 /fs/quota.c

Filename:/fs/quota.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.6.25-rc6  2.6.25-rc5  2.6.25-rc4  2.6.25-rc3  2.6.25-rc2  2.6.25-rc1 
(Following) 2.6.25-rc8  2.6.25-rc9  2.6.25  2.6.25-git12  2.6.25-git13  2.6.25-git14 

Location
[  2.6.25-rc7
  [  fs
     o  quota.c

Patch

diff --git a/fs/quota.c b/fs/quota.c
index 99b24b5..84f28dd 100644
--- a/fs/quota.c
+++ b/fs/quota.c
@@ -341,11 +341,11 @@ static inline struct super_block *quotactl_block(const char __user *special)
    char *tmp = getname(special);
 
    if (IS_ERR(tmp))
-      return ERR_PTR(PTR_ERR(tmp));
+      return ERR_CAST(tmp);
    bdev = lookup_bdev(tmp);
    putname(tmp);
    if (IS_ERR(bdev))
-      return ERR_PTR(PTR_ERR(bdev));
+      return ERR_CAST(bdev);
    sb = get_super(bdev);
    bdput(bdev);
    if (!sb)


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