]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/nfs/file.c
Merge branch 'pnfs_generic'
[karo-tx-linux.git] / fs / nfs / file.c
index f188dd071dfcfb9fc3b3e05053aaed172b69e217..178ec8da028f3cada7ad1a08302c00ac10d08d6d 100644 (file)
@@ -514,7 +514,7 @@ static void nfs_check_dirty_writeback(struct page *page,
         * so it will not block due to pages that will shortly be freeable.
         */
        nfsi = NFS_I(mapping->host);
-       if (test_bit(NFS_INO_COMMIT, &nfsi->flags)) {
+       if (atomic_read(&nfsi->commit_info.rpcs_out)) {
                *writeback = true;
                return;
        }