Searched hist:"28331 a46" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | nfs_xdr.h | 28331a46 Wed Apr 27 12:47:52 CDT 2011 Trond Myklebust <Trond.Myklebust@netapp.com> NFSv4: Ensure we request the ordinary fileid when doing readdirplus
When readdir() returns a directory entry for the root of a mounted filesystem, Linux follows the old convention of returning the inode number of the covered directory (despite newer versions of POSIX declaring that this is a bug). To ensure this continues to work, the NFSv4 readdir implementation requests the 'mounted-on-fileid' from the server.
However, readdirplus also needs to instantiate an inode for this entry, and for that, we also need to request the real fileid as per this patch.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> 28331a46 Wed Apr 27 12:47:52 CDT 2011 Trond Myklebust <Trond.Myklebust@netapp.com> NFSv4: Ensure we request the ordinary fileid when doing readdirplus When readdir() returns a directory entry for the root of a mounted filesystem, Linux follows the old convention of returning the inode number of the covered directory (despite newer versions of POSIX declaring that this is a bug). To ensure this continues to work, the NFSv4 readdir implementation requests the 'mounted-on-fileid' from the server. However, readdirplus also needs to instantiate an inode for this entry, and for that, we also need to request the real fileid as per this patch. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4xdr.c | 28331a46 Wed Apr 27 12:47:52 CDT 2011 Trond Myklebust <Trond.Myklebust@netapp.com> NFSv4: Ensure we request the ordinary fileid when doing readdirplus
When readdir() returns a directory entry for the root of a mounted filesystem, Linux follows the old convention of returning the inode number of the covered directory (despite newer versions of POSIX declaring that this is a bug). To ensure this continues to work, the NFSv4 readdir implementation requests the 'mounted-on-fileid' from the server.
However, readdirplus also needs to instantiate an inode for this entry, and for that, we also need to request the real fileid as per this patch.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> 28331a46 Wed Apr 27 12:47:52 CDT 2011 Trond Myklebust <Trond.Myklebust@netapp.com> NFSv4: Ensure we request the ordinary fileid when doing readdirplus When readdir() returns a directory entry for the root of a mounted filesystem, Linux follows the old convention of returning the inode number of the covered directory (despite newer versions of POSIX declaring that this is a bug). To ensure this continues to work, the NFSv4 readdir implementation requests the 'mounted-on-fileid' from the server. However, readdirplus also needs to instantiate an inode for this entry, and for that, we also need to request the real fileid as per this patch. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
|