]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfs: fix comment and add warn_on for PG_INODE_REF
authorWeston Andros Adamson <dros@primarydata.com>
Fri, 18 Jul 2014 00:42:16 +0000 (20:42 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 3 Aug 2014 21:05:25 +0000 (17:05 -0400)
commitb412ddf0661e11485876a202c48868143e3a01cf
treed959ed2e5b6b1d5990c4755275a6e9afdd63b2a8
parente7029206ff43f6cf7d6fcb741adb126f47200516
nfs: fix comment and add warn_on for PG_INODE_REF

Fix the comment in nfs_page.h for PG_INODE_REF to reflect that it's no longer
set only on head requests. Also add a WARN_ON_ONCE in nfs_inode_remove_request
as PG_INODE_REF should always be set.

Suggested-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/write.c
include/linux/nfs_page.h