Project

General

Profile

Actions

Bug #2982

closed

nfs3: cleanup debug code at nfs3_srv.c

Added by Vitaliy Gusev over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2012-07-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

nfs3_srv.c has some vain code that makes difficult to do
modifying or improving.


          #ifdef DEBUG
           int rfs3_do_pre_op_attr = 1;
           int rfs3_do_post_op_attr = 1;
           int rfs3_do_post_op_fh3 = 1;
          #endif
          ...

          #ifdef DEBUG
      if (rfs3_do_pre_op_attr)
                bvap = &bva;
          #else
       bvap = &bva;
          #endif
Actions

Also available in: Atom PDF