Skip to content

Commit

Permalink
nfs: remove commented out and #ifdefed out code.
Browse files Browse the repository at this point in the history
No need for the cruft.
  • Loading branch information
pulkomandy committed Sep 29, 2016
1 parent 99d6d57 commit 509e0b5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/add-ons/kernel/file_systems/nfs/nfs_add_on.c
Expand Up @@ -659,14 +659,8 @@ get_nfs_attr(struct XDRInPacket *reply, struct stat *st)
st->st_uid=XDRInPacketGetInt32(reply);
st->st_gid=XDRInPacketGetInt32(reply);
st->st_size=XDRInPacketGetInt32(reply);
#if 0
XDRInPacketGetInt32(reply); // blksize
st->st_blksize=NFS_MAXDATA;
#else
st->st_blksize=XDRInPacketGetInt32(reply);
#endif
st->st_rdev=XDRInPacketGetInt32(reply);
// XDRInPacketGetInt32(reply); // blocks
st->st_blocks=XDRInPacketGetInt32(reply);
XDRInPacketGetInt32(reply); // fsid
st->st_ino=XDRInPacketGetInt32(reply);
Expand Down

0 comments on commit 509e0b5

Please sign in to comment.