]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/xfs/linux-2.6/xfs_cred.h
Merge branch 'fix/hda' into for-linus
[linux-2.6-omap-h63xx.git] / fs / xfs / linux-2.6 / xfs_cred.h
index 652721ce0ea5ecd0bb19d53c519facf9a62026a6..55bddf3b60912022267801cd883bb1c21e93f832 100644 (file)
 /*
  * Credentials
  */
-typedef struct cred {
-       /* EMPTY */
-} cred_t;
-
-extern struct cred *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);
-}
+typedef const struct cred cred_t;
 
 #endif  /* __XFS_CRED_H__ */