mirror of
https://github.com/sheumann/hush.git
synced 2024-11-05 06:07:00 +00:00
Applied patch from Larry Doolittle to use preprocessor for defining
NFS_MOUNT_VERSION.
This commit is contained in:
parent
e57d54b456
commit
8526067336
@ -93,7 +93,9 @@ static const int MS_NODIRATIME = 2048; /* Do not update directory access time
|
||||
* so it is easiest to ignore the kernel altogether (at compile time).
|
||||
*/
|
||||
|
||||
static const int NFS_MOUNT_VERSION = 4;
|
||||
/* NOTE: Do not make this into a 'static const int' because the pre-processor
|
||||
* needs to test this value in some #if statements. */
|
||||
#define NFS_MOUNT_VERSION 4
|
||||
|
||||
struct nfs2_fh {
|
||||
char data[32];
|
||||
|
@ -93,7 +93,9 @@ static const int MS_NODIRATIME = 2048; /* Do not update directory access time
|
||||
* so it is easiest to ignore the kernel altogether (at compile time).
|
||||
*/
|
||||
|
||||
static const int NFS_MOUNT_VERSION = 4;
|
||||
/* NOTE: Do not make this into a 'static const int' because the pre-processor
|
||||
* needs to test this value in some #if statements. */
|
||||
#define NFS_MOUNT_VERSION 4
|
||||
|
||||
struct nfs2_fh {
|
||||
char data[32];
|
||||
|
Loading…
Reference in New Issue
Block a user