[XFS] Fix merge failures
authorLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Mon, 29 Dec 2008 05:47:18 +0000 (16:47 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Mon, 29 Dec 2008 05:47:18 +0000 (16:47 +1100)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6

Conflicts:

fs/xfs/linux-2.6/xfs_cred.h
fs/xfs/linux-2.6/xfs_globals.h
fs/xfs/linux-2.6/xfs_ioctl.c
fs/xfs/xfs_vnodeops.h

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
1  2 
fs/xfs/linux-2.6/xfs_cred.h
fs/xfs/linux-2.6/xfs_ioctl.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_vnodeops.h
include/linux/fs.h

index e279d00779f4dfb07defbd51f77216790d0daea9,8c022cd0ad672dc9f68687c54cb305dc5f846a19..55bddf3b60912022267801cd883bb1c21e93f832
  /*
   * Credentials
   */
- typedef struct cred {
-        /* EMPTY */
- } cred_t;
+ typedef const struct cred cred_t;
  
 -extern cred_t *sys_cred;
 -
 -/* this is a hack.. (assumes sys_cred is the only cred_t in the system) */
 -static inline int capable_cred(cred_t *cr, int cid)
 -{
 -      return (cr == sys_cred) ? 1 : capable(cid);
 -}
 -
  #endif  /* __XFS_CRED_H__ */
index 0264c8719ffd9d2ecf52a6f92848c0fdc117a0ca,281cbd5a25cfd1550645370cf339e0e251d1f721..67205f6198ba58019eb549ffc6440e56b84af8b4
@@@ -314,7 -322,7 +315,7 @@@ xfs_open_by_handle
        mntget(parfilp->f_path.mnt);
  
        /* Create file pointer. */
-       filp = dentry_open(dentry, parfilp->f_path.mnt, hreq->oflags);
 -      filp = dentry_open(dentry, parfilp->f_path.mnt, hreq.oflags, cred);
++      filp = dentry_open(dentry, parfilp->f_path.mnt, hreq->oflags, cred);
        if (IS_ERR(filp)) {
                put_unused_fd(new_fd);
                return -XFS_ERROR(-PTR_ERR(filp));
index f0e4d79833e19dcb272dfd4b19c8000c0e344497,6be310d41daf105556239a2f338dafaeb940e35f..1f175fa34b225df1da087a6fceadb201205fcbe8
@@@ -502,9 -490,19 +502,9 @@@ void              xfs_ireclaim(xfs_inode_t *)
  /*
   * xfs_inode.c prototypes.
   */
 -int           xfs_itobp(struct xfs_mount *, struct xfs_trans *,
 -                        xfs_inode_t *, struct xfs_dinode **, struct xfs_buf **,
 -                        xfs_daddr_t, uint, uint);
 -int           xfs_iread(struct xfs_mount *, struct xfs_trans *, xfs_ino_t,
 -                        xfs_inode_t **, xfs_daddr_t, uint);
 -int           xfs_iread_extents(struct xfs_trans *, xfs_inode_t *, int);
  int           xfs_ialloc(struct xfs_trans *, xfs_inode_t *, mode_t,
-                          xfs_nlink_t, xfs_dev_t, struct cred *, xfs_prid_t,
+                          xfs_nlink_t, xfs_dev_t, cred_t *, xfs_prid_t,
                           int, struct xfs_buf **, boolean_t *, xfs_inode_t **);
 -void          xfs_dinode_from_disk(struct xfs_icdinode *,
 -                                   struct xfs_dinode_core *);
 -void          xfs_dinode_to_disk(struct xfs_dinode_core *,
 -                                 struct xfs_icdinode *);
  
  uint          xfs_ip2xflags(struct xfs_inode *);
  uint          xfs_dic2xflags(struct xfs_dinode *);
Simple merge
Simple merge