X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fncpfs%2Fsymlink.c;h=e935f1b34bc2935e589979ee69c32a2fada36863;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=15697bc00dbe237a7a6bb272327fde66c405c710;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/fs/ncpfs/symlink.c b/fs/ncpfs/symlink.c index 15697bc00..e935f1b34 100644 --- a/fs/ncpfs/symlink.c +++ b/fs/ncpfs/symlink.c @@ -36,8 +36,8 @@ /* these magic numbers must appear in the symlink file -- this makes it a bit more resilient against the magic attributes being set on random files. */ -#define NCP_SYMLINK_MAGIC0 le32_to_cpu(0x6c6d7973) /* "symlnk->" */ -#define NCP_SYMLINK_MAGIC1 le32_to_cpu(0x3e2d6b6e) +#define NCP_SYMLINK_MAGIC0 cpu_to_le32(0x6c6d7973) /* "symlnk->" */ +#define NCP_SYMLINK_MAGIC1 cpu_to_le32(0x3e2d6b6e) /* ----- read a symbolic link ------------------------------------------ */ @@ -67,8 +67,8 @@ static int ncp_symlink_readpage(struct file *file, struct page *page) if (NCP_FINFO(inode)->flags & NCPI_KLUDGE_SYMLINK) { if (length