diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-02-20 18:55:10 +0300 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-02-20 18:55:10 +0300 |
commit | 2cfbd50b536c878e58ab3681c4e944fa3d99b415 (patch) | |
tree | af29d7c8a094b0560c3ed04aebacdea23ae1177f /fs/btrfs/ctree.h | |
parent | 2456242530a21cfee82646ebeeda65d3f74faa4c (diff) | |
download | linux-2cfbd50b536c878e58ab3681c4e944fa3d99b415.tar.xz |
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: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions