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.28' of git://linux-nfs.org/~bfields/linux

* 'for-2.6.28' of git://linux-nfs.org/~bfields/linux:
Fix nfsd truncation of readdir results

+1 -4
+1 -4
fs/nfsd/vfs.c
··· 1875 1875 return -ENOMEM; 1876 1876 1877 1877 offset = *offsetp; 1878 - cdp->err = nfserr_eof; /* will be cleared on successful read */ 1879 1878 1880 1879 while (1) { 1881 1880 unsigned int reclen; 1882 1881 1882 + cdp->err = nfserr_eof; /* will be cleared on successful read */ 1883 1883 buf.used = 0; 1884 1884 buf.full = 0; 1885 1885 ··· 1912 1912 de = (struct buffered_dirent *)((char *)de + reclen); 1913 1913 } 1914 1914 offset = vfs_llseek(file, 0, SEEK_CUR); 1915 - cdp->err = nfserr_eof; 1916 - if (!buf.full) 1917 - break; 1918 1915 } 1919 1916 1920 1917 done: