Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'for-2.6.31' of git://linux-nfs.org/~bfields/linux

* 'for-2.6.31' of git://linux-nfs.org/~bfields/linux:
NFSD: Don't hold unrefcounted creds over call to nfsd_setuser()

+1 -2
+1 -2
fs/nfsd/vfs.c
··· 678 678 nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, 679 679 int access, struct file **filp) 680 680 { 681 - const struct cred *cred = current_cred(); 682 681 struct dentry *dentry; 683 682 struct inode *inode; 684 683 int flags = O_RDONLY|O_LARGEFILE; ··· 732 733 vfs_dq_init(inode); 733 734 } 734 735 *filp = dentry_open(dget(dentry), mntget(fhp->fh_export->ex_path.mnt), 735 - flags, cred); 736 + flags, current_cred()); 736 737 if (IS_ERR(*filp)) 737 738 host_err = PTR_ERR(*filp); 738 739 else