diff options
-rw-r--r-- | fs/nfs/pnfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 4755858e37a0..6e67ada6c22c 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c | |||
@@ -662,7 +662,7 @@ pnfs_destroy_all_layouts(struct nfs_client *clp) | |||
662 | */ | 662 | */ |
663 | static bool pnfs_seqid_is_newer(u32 s1, u32 s2) | 663 | static bool pnfs_seqid_is_newer(u32 s1, u32 s2) |
664 | { | 664 | { |
665 | return (s32)s1 - (s32)s2 > 0; | 665 | return (s32)(s1 - s2) > 0; |
666 | } | 666 | } |
667 | 667 | ||
668 | /* update lo->plh_stateid with new if is more recent */ | 668 | /* update lo->plh_stateid with new if is more recent */ |