nfsd4: make sure set CB_PATH_DOWN sequence flag set
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 9 Mar 2012 22:02:28 +0000 (17:02 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 9 Mar 2012 22:05:01 +0000 (17:05 -0500)
commit8546ee518c6662ddb3075249fb31d89e5dbfb7d5
tree0e56f5de9c1ebd807e06a391cb521421625fe392
parent59deeb9e5a2b535b95327c0d29bb3c2c4c3e8234
nfsd4: make sure set CB_PATH_DOWN sequence flag set

Make sure this is set whenever there is no callback channel.

If a client does not set up a callback channel at all, then it will get
this flag set from the very start.  That's OK, it can just ignore the
flag if it doesn't care.  If a client does care, I think it's better to
inform it of the problem as early as possible.

Reported-by: Rick Macklem <rmacklem@uoguelph.ca>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c