diff options
author | Weston Andros Adamson <dros@primarydata.com> | 2014-07-18 04:42:15 +0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-08-04 01:05:24 +0400 |
commit | e7029206ff43f6cf7d6fcb741adb126f47200516 (patch) | |
tree | 177e5c715690fdc397a2054c48ec61b9b5cbbea4 /fs/nfs/pnfs.h | |
parent | ec25422c669d38f4e8a83da7f77950094349de48 (diff) | |
download | linux-e7029206ff43f6cf7d6fcb741adb126f47200516.tar.xz |
nfs: check wait_on_bit_lock err in page_group_lock
Return errors from wait_on_bit_lock from nfs_page_group_lock.
Add a bool argument @wait to nfs_page_group_lock. If true, loop over
wait_on_bit_lock until it returns cleanly. If false, return the error
from wait_on_bit_lock.
Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
0 files changed, 0 insertions, 0 deletions