[PATCH] nfsd4: fix open of recovery directory
commitd22749b62f3e12de26b86a200f9a5bf7afe3590e
authorJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 19 Jan 2006 01:43:27 +0000 (18 17:43 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 19 Jan 2006 03:20:26 +0000 (18 19:20 -0800)
treedba05760944d9c91565955de182b2684af0bb19a
parent5fb8b49e2955cc473929c5994b8389111daed59d
[PATCH] nfsd4: fix open of recovery directory

We should be opening this directory RDONLY, not RDWR.

Thanks to Christoph Hellwig for the bug report.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfs4recover.c