diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-08-27 20:18:08 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-10 18:56:31 -0400 |
commit | 2f5b56f85674d75f35a10e2e9a4310e7539280da (patch) | |
tree | edf0cacb3cd7174e770e497412478dec0363f4b6 /fs/xfs/xfs_qm.c | |
parent | cd56a39a59868911bbf8832725630c1cf43a7b09 (diff) |
xfs-convert-dquot-cache-lru-to-list_lru-fix
fix warnings
Cc: Dave Chinner <dchinner@redhat.com>
Cc: Glauber Costa <glommer@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
-rw-r--r-- | fs/xfs/xfs_qm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index 0fa98753bf67..1a4217e52c9f 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c | |||
@@ -766,7 +766,7 @@ out_unlock_dirty: | |||
766 | return 3; | 766 | return 3; |
767 | } | 767 | } |
768 | 768 | ||
769 | static long | 769 | static unsigned long |
770 | xfs_qm_shrink_scan( | 770 | xfs_qm_shrink_scan( |
771 | struct shrinker *shrink, | 771 | struct shrinker *shrink, |
772 | struct shrink_control *sc) | 772 | struct shrink_control *sc) |
@@ -774,7 +774,7 @@ xfs_qm_shrink_scan( | |||
774 | struct xfs_quotainfo *qi = container_of(shrink, | 774 | struct xfs_quotainfo *qi = container_of(shrink, |
775 | struct xfs_quotainfo, qi_shrinker); | 775 | struct xfs_quotainfo, qi_shrinker); |
776 | struct xfs_qm_isolate isol; | 776 | struct xfs_qm_isolate isol; |
777 | long freed; | 777 | unsigned long freed; |
778 | int error; | 778 | int error; |
779 | unsigned long nr_to_scan = sc->nr_to_scan; | 779 | unsigned long nr_to_scan = sc->nr_to_scan; |
780 | 780 | ||
@@ -802,7 +802,7 @@ xfs_qm_shrink_scan( | |||
802 | return freed; | 802 | return freed; |
803 | } | 803 | } |
804 | 804 | ||
805 | static long | 805 | static unsigned long |
806 | xfs_qm_shrink_count( | 806 | xfs_qm_shrink_count( |
807 | struct shrinker *shrink, | 807 | struct shrinker *shrink, |
808 | struct shrink_control *sc) | 808 | struct shrink_control *sc) |