[PATCH] knfsd: remove noise about filehandle being uptodate
authorNeilBrown <neilb@suse.de>
Fri, 30 Jun 2006 08:56:11 +0000 (01:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 30 Jun 2006 18:25:40 +0000 (11:25 -0700)
commit4c9608b2f2f51e84eba72f4bf061d360259ce656
treee77a19f0dfd21b2d6a67542ef032f3aa69cf8e4a
parent4bdff8c0950afa6a3f2efec6cd15159d97fac1e6
[PATCH] knfsd: remove noise about filehandle being uptodate

There is a perfectly valid situation where fh_update gets called on an already
uptodate filehandle - in nfsd_create_v3 where a CREATE_UNCHECKED finds an
existing file and wants to just set the size.

We could possible optimise out the call in that case, but the only harm
involved is that fh_update prints a warning, so it is easier to remove the
warning.

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/nfsfh.c