mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
linux24-update-20070208
FIXES 53199 update for linux 2.4
This commit is contained in:
parent
9dd8d7f817
commit
226f3b1b47
@ -99,7 +99,6 @@ static ssize_t
|
||||
afs_linux_write(struct file *fp, const char *buf, size_t count, loff_t * offp)
|
||||
{
|
||||
ssize_t code = 0;
|
||||
int code2 = 0;
|
||||
struct vcache *vcp = VTOAFS(fp->f_dentry->d_inode);
|
||||
struct vrequest treq;
|
||||
cred_t *credp = crref();
|
||||
|
@ -238,7 +238,7 @@ afs_DaemonOp(long parm, long parm2, long parm3, long parm4, long parm5,
|
||||
|
||||
#if defined(AFS_LINUX24_ENV) && defined(COMPLETION_H_EXISTS)
|
||||
struct afsd_thread_info {
|
||||
#if !defined(INIT_WORK_HAS_DATA)
|
||||
#if defined(AFS_LINUX26_ENV) && !defined(INIT_WORK_HAS_DATA)
|
||||
struct work_struct tq;
|
||||
#endif
|
||||
unsigned long parm;
|
||||
@ -373,13 +373,13 @@ afsd_thread(void *rock)
|
||||
}
|
||||
|
||||
void
|
||||
#if !defined(INIT_WORK_HAS_DATA)
|
||||
#if defined(AFS_LINUX26_ENV) && !defined(INIT_WORK_HAS_DATA)
|
||||
afsd_launcher(struct work_struct *work)
|
||||
#else
|
||||
afsd_launcher(void *rock)
|
||||
#endif
|
||||
{
|
||||
#if !defined(INIT_WORK_HAS_DATA)
|
||||
#if defined(AFS_LINUX26_ENV) && !defined(INIT_WORK_HAS_DATA)
|
||||
struct afsd_thread_info *rock = container_of(work, struct afsd_thread_info, tq);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user