btrfs-progs: check return of posix_fadvise
authorEric Sandeen <sandeen@redhat.com>
Mon, 4 Mar 2013 22:40:01 +0000 (16:40 -0600)
committerDavid Sterba <dsterba@suse.cz>
Sun, 10 Mar 2013 15:04:01 +0000 (16:04 +0100)
commit06efd54588aa1d155e73f6f6372f44832154a279
tree1ae1aa314c2cb8a5e47b28020d589a9c68a8afde
parentb1d5f20c3a744c2994c32dd616ba2605c4e4f395
btrfs-progs: check return of posix_fadvise

It seems highly unlikely that posix_fadvise could fail,
and even if it does, it was only advisory.  Still, if
it does, we could issue a notice to the user.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
disk-io.c
volumes.c