]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: fix max_retries _show and _store functions
authorCarlos Maiolino <cmaiolino@redhat.com>
Mon, 9 Jan 2017 15:39:03 +0000 (16:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:39:45 +0000 (11:39 +0100)
commit1b9c2556809ad30ef8e28398d77b6b007e7be6c0
treefe00f30e0e0ccbc1873bc89fd715075480815bd0
parent91192ae41e6f638d580bd0e3e6fd2d311eaf5adf
xfs: fix max_retries _show and _store functions

commit ff97f2399edac1e0fb3fa7851d5fbcbdf04717cf upstream.

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>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/xfs_sysfs.c