Skip to content

Commit

Permalink
DAX incorrect mount flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sudarsunkannan committed Dec 6, 2018
1 parent 26841d8 commit 9ec0752
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_detect_platform
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ CROSS_COMPILE=
PLATFORM_CCFLAGS=
PLATFORM_CXXFLAGS=
PLATFORM_LDFLAGS=
PLATFORM_LIBS="-lnuma -lpmem"
PLATFORM_LIBS="-lnuma" #-lpmem"
PLATFORM_SHARED_EXT="so"
PLATFORM_SHARED_LDFLAGS="-shared -Wl,-soname -Wl,"
PLATFORM_SHARED_CFLAGS="-fPIC"
Expand Down
2 changes: 1 addition & 1 deletion scripts/mount_dax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
sudo umount $TEST_TMPDIR
sudo mkdir $TEST_TMPDIR
sudo mkfs.ext4 /dev/pmem0
sudo mount -o dax /dev/pmem0 $TEST_TMPDIR
sudo mount dax /dev/pmem0 $TEST_TMPDIR
sudo chown -R $USER $TEST_TMPDIR

0 comments on commit 9ec0752

Please sign in to comment.