summaryrefslogtreecommitdiffstats
path: root/fs/lockd/svcproc.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-10-31 15:44:08 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-31 15:44:08 -0700
commite06f42d6c127883e58b747048752f44ae208ae47 (patch)
tree16b28e067eb7a85259d8a2025fb9256fda55bdc5 /fs/lockd/svcproc.c
parentf891caf28febf9d4129716e848227148654b5993 (diff)
parentd7dc61d0a70371b1c6557ea8ffbc60fff94c8168 (diff)
downloadop-kernel-dev-e06f42d6c127883e58b747048752f44ae208ae47.zip
op-kernel-dev-e06f42d6c127883e58b747048752f44ae208ae47.tar.gz
Merge branch 'for-2.6.28' of git://linux-nfs.org/~bfields/linux
* 'for-2.6.28' of git://linux-nfs.org/~bfields/linux: NLM: Set address family before calling nlm_host_rebooted() nfsd: fix failure to set eof in readdir in some situations
Diffstat (limited to 'fs/lockd/svcproc.c')
-rw-r--r--fs/lockd/svcproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/lockd/svcproc.c b/fs/lockd/svcproc.c
index 548b0bb..3ca89e2 100644
--- a/fs/lockd/svcproc.c
+++ b/fs/lockd/svcproc.c
@@ -466,6 +466,7 @@ nlmsvc_proc_sm_notify(struct svc_rqst *rqstp, struct nlm_reboot *argp,
* reclaim all locks we hold on this server.
*/
memset(&saddr, 0, sizeof(saddr));
+ saddr.sin_family = AF_INET;
saddr.sin_addr.s_addr = argp->addr;
nlm_host_rebooted(&saddr, argp->mon, argp->len, argp->state);
OpenPOWER on IntegriCloud