linux-stable/fs/nfs/flexfilelayout
Peng Tao 9bbd9bb40c pnfs/flexfiles: protect ktime manipulation with mirror lock
It looks as if xchg() and cmpxchg() are not available for 64-bit integers on sparc32:

> New breakage seen in linux-next today:
>
> ERROR: "__xchg_called_with_bad_pointer" [fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko] undefined!
> ERROR: "__cmpxchg_called_with_bad_pointer" [fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko] undefined!
> make[2]: *** [__modpost] Error 1
> make[1]: *** [modules] Error 2

Given that mirror ktime manipulation is already under mirror->lock, let's make use of the fact.

Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2015-06-26 14:01:37 -04:00
..
flexfilelayout.c pnfs/flexfiles: protect ktime manipulation with mirror lock 2015-06-26 14:01:37 -04:00
flexfilelayout.h pnfs/flexfiles: report layoutstat regularly 2015-06-24 10:54:23 -04:00
flexfilelayoutdev.c NFSv4.1: Convert pNFS deviceid to use kfree_rcu() 2015-03-27 12:32:24 -04:00
Makefile