Felix Blyakher
9167f501c6
nfsd: initialize lease type in nfs4_open_delegation()
...
While lease is correctly checked by supplying the type argument to
vfs_setlease(), it's stored with fl_type uninitialized. This breaks the
logic when checking the type of the lease. The fix is to initialize
fl_type.
The old code still happened to function correctly since F_RDLCK is zero,
and we only implement read delegations currently (nor write
delegations). But that's no excuse for not fixing this.
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2008-04-23 16:13:40 -04:00
..
2008-04-18 22:16:44 -04:00
2008-04-16 07:43:48 -07:00
2008-03-30 14:20:23 -07:00
2008-04-18 22:16:44 -04:00
2008-03-04 14:47:06 -08:00
2008-04-22 13:44:23 -07:00
2008-03-19 18:53:36 -07:00
2008-04-02 15:28:19 -07:00
2008-04-21 16:36:46 -07:00
2008-04-21 16:36:46 -07:00
2008-04-21 16:36:46 -07:00
2008-04-19 00:29:24 -04:00
2008-04-21 11:22:28 -05:00
2008-03-17 09:46:55 -07:00
2008-04-19 00:29:24 -04:00
2008-03-19 06:42:18 -04:00
2008-03-19 06:55:01 -04:00
2008-03-19 18:53:36 -07:00
2008-03-30 14:18:41 -07:00
2008-03-30 14:18:41 -07:00
2008-04-18 22:22:54 -04:00
2008-04-19 00:29:24 -04:00
2008-04-23 16:13:39 -04:00
2008-04-19 00:29:23 -04:00
2008-04-23 16:13:40 -04:00
2008-04-23 16:13:40 -04:00
2008-04-19 00:29:24 -04:00
2008-04-19 19:10:24 -07:00
2008-04-23 00:05:03 -04:00
2008-04-21 15:41:27 -07:00
2008-03-19 18:53:36 -07:00
2008-03-30 14:18:41 -07:00
2008-04-19 19:10:29 -07:00
2008-04-17 14:29:56 +02:00
2008-03-19 18:53:37 -07:00
2008-04-21 15:41:27 -07:00
2008-04-11 08:06:43 -07:00
2008-03-19 06:54:05 -04:00
2008-03-04 16:35:10 -08:00
2008-04-21 09:50:08 +02:00
2008-04-04 14:38:17 -07:00
2008-04-23 00:04:38 -04:00
2008-03-19 18:53:35 -07:00
2008-04-19 00:29:28 -04:00
2008-03-19 18:53:36 -07:00
2008-04-19 00:29:24 -04:00
2008-04-21 23:11:01 -04:00
2008-04-23 16:13:38 -04:00
2008-04-21 15:10:15 -07:00
2008-04-18 22:16:44 -04:00
2008-04-15 19:35:41 -07:00
2008-04-19 00:29:25 -04:00
2008-04-23 00:05:09 -04:00
2008-04-19 00:29:28 -04:00
2008-04-22 19:54:57 -04:00
2008-04-23 00:05:09 -04:00
2008-04-23 00:05:09 -04:00
2008-04-22 15:17:11 -07:00
2008-04-21 22:15:06 +00:00
2008-04-23 00:04:38 -04:00
2008-04-11 08:06:44 -07:00
2008-04-10 08:24:25 +02:00
2008-04-21 23:11:01 -04:00
2008-04-19 00:29:24 -04:00
2008-04-23 00:04:04 -04:00