Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 488072 | Differences between
and this patch

Collapse All | Expand All

(-)a/vmblock-only/linux/inode.c (-3 / +3 lines)
Lines 36-42 Link Here
36
36
37
/* Inode operations */
37
/* Inode operations */
38
static struct dentry *InodeOpLookup(struct inode *dir,
38
static struct dentry *InodeOpLookup(struct inode *dir,
39
                                    struct dentry *dentry, struct nameidata *nd);
39
                                    struct dentry *dentry, unsigned int flags);
40
static int InodeOpReadlink(struct dentry *dentry, char __user *buffer, int buflen);
40
static int InodeOpReadlink(struct dentry *dentry, char __user *buffer, int buflen);
41
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
41
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
42
static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
42
static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
Lines 75-81 Link Here
75
static struct dentry *
75
static struct dentry *
76
InodeOpLookup(struct inode *dir,      // IN: parent directory's inode
76
InodeOpLookup(struct inode *dir,      // IN: parent directory's inode
77
              struct dentry *dentry,  // IN: dentry to lookup
77
              struct dentry *dentry,  // IN: dentry to lookup
78
              struct nameidata *nd)   // IN: lookup intent and information
78
              unsigned int flags)     // IN: lookup intent and information
79
{
79
{
80
   char *filename;
80
   char *filename;
81
   struct inode *inode;
81
   struct inode *inode;
Lines 221-227 Link Here
221
      goto out;
221
      goto out;
222
   }
222
   }
223
223
224
   ret = vfs_follow_link(nd, iinfo->name);
224
   nd_set_link(nd, iinfo->name);
225
225
226
out:
226
out:
227
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
227
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)

Return to bug 488072