arm64: rockchip_defconfig: disable unused ethernet driver
[firefly-linux-kernel-4.4.55.git] / fs / nfsd / vfs.h
index fee2451ae24824830481e1d4005922e63f39dabe..fcfc48cbe1360822896d479c3e0a6bf8997c147c 100644 (file)
@@ -112,14 +112,14 @@ static inline int fh_want_write(struct svc_fh *fh)
        int ret = mnt_want_write(fh->fh_export->ex_path.mnt);
 
        if (!ret)
-               fh->fh_want_write = 1;
+               fh->fh_want_write = true;
        return ret;
 }
 
 static inline void fh_drop_write(struct svc_fh *fh)
 {
        if (fh->fh_want_write) {
-               fh->fh_want_write = 0;
+               fh->fh_want_write = false;
                mnt_drop_write(fh->fh_export->ex_path.mnt);
        }
 }