diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2015-06-05 15:29:31 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2015-06-05 15:29:31 +0000 |
commit | 975c4efdd72e317f7deaf7e53910504cb7df89ef (patch) | |
tree | f886edfd2b5fc520e72998fae26996034f900363 | |
parent | 1699827cd16180cf09c9d649a8911b210df6a075 (diff) | |
download | illumos-joyent-975c4efdd72e317f7deaf7e53910504cb7df89ef.tar.gz |
OS-4384 5917 breaks smartos build
-rw-r--r-- | usr/src/uts/common/sys/flock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/flock.h b/usr/src/uts/common/sys/flock.h index 112a91fca6..3d4b3626b9 100644 --- a/usr/src/uts/common/sys/flock.h +++ b/usr/src/uts/common/sys/flock.h @@ -225,8 +225,10 @@ typedef struct locklist { #define FLK_QUERY_ACTIVE 0x1 #define FLK_QUERY_SLEEPING 0x2 +#if defined(_KERNEL) int ofdlock(file_t *, int, struct flock64 *, int, u_offset_t); void ofdcleanlock(file_t *); +#endif int reclock(struct vnode *, struct flock64 *, int, int, u_offset_t, flk_callback_t *); int chklock(struct vnode *, int, u_offset_t, ssize_t, int, |