xfs: fix max_retries _show and _store functions
authorCarlos Maiolino <cmaiolino@redhat.com>
Wed, 4 Jan 2017 04:34:17 +0000 (20:34 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 4 Jan 2017 04:34:17 +0000 (20:34 -0800)
commitff97f2399edac1e0fb3fa7851d5fbcbdf04717cf
tree31e3a2c58fc6abbd933dd44403f172724aa4f834
parent721a0edfbe1f302b93274ce75e0d62843ca63e0d
xfs: fix max_retries _show and _store functions

max_retries _show and _store functions should test against cfg->max_retries,
not cfg->retry_timeout

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_sysfs.c