Peter Dufault
2014-09-11 13:58:34 UTC
In nfs_dir_read() I see:
/* align + round down the buffer */
count &= ~ (DIRENT_HEADER_SIZE - 1);
di->len = count;
Then later:
if (count > NFS_MAXDATA)
count = NFS_MAXDATA;
di->readdirargs.count = count;
Can someone who understands this comment on it?
Peter
-----------------
Peter Dufault
HD Associates, Inc. Software and System Engineering
/* align + round down the buffer */
count &= ~ (DIRENT_HEADER_SIZE - 1);
di->len = count;
Then later:
if (count > NFS_MAXDATA)
count = NFS_MAXDATA;
di->readdirargs.count = count;
Can someone who understands this comment on it?
Peter
-----------------
Peter Dufault
HD Associates, Inc. Software and System Engineering