aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Aleaxander <Aleaxander@gmail.com>2009-05-11 05:18:33 +0800
committerLiu Aleaxander <Aleaxander@gmail.com>2009-05-11 05:18:33 +0800
commitdcc79fb69015fd7aed1db14544b155969f4d1783 (patch)
tree627145e89e63a34159873fdfa177e1a4a48057b1
parentc884bf85b74b87db27359b4de22ccaf06a6ba933 (diff)
downloaddevel-dcc79fb69015fd7aed1db14544b155969f4d1783.tar.gz
devel-dcc79fb69015fd7aed1db14544b155969f4d1783.tar.xz
devel-dcc79fb69015fd7aed1db14544b155969f4d1783.zip
Make the fast symlink check work
-rw-r--r--extlinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extlinux.c b/extlinux.c
index 9a1039d..ac1d59c 100644
--- a/extlinux.c
+++ b/extlinux.c
@@ -582,7 +582,7 @@ struct open_file_t* searchdir(char * filename, __u32 *file_len)
if ( *file_len >= SYMLINK_SECTORS * SECTOR_SIZE )
goto err; /* Symlink too long */
- flag = ThisInode.i_file_acl ? 1 : 0;
+ flag = ThisInode.i_file_acl ? SecPerClust : 0;
if ( ThisInode.i_blocks == flag ) { /* fast symlink */