Skip to content
Commit 2cfbd50b authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: check file pointer in btrfs_sync_file



fsync can be called by NFS with a null file pointer, and btrfs was
oopsing in this case.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 24562425
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment